From ce7af7cbeeff12530176f4fbefa99123bbc80dd4 Mon Sep 17 00:00:00 2001 From: Alberto Mercurio Date: Thu, 3 Oct 2024 15:25:44 +0200 Subject: [PATCH] Remove Luca from list of maintainers --- Project.toml | 2 +- README.md | 3 +-- docs/make.jl | 2 +- docs/src/type_stability.md | 2 ++ src/versioninfo.jl | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index dfbfae0e..b3170b2d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "QuantumToolbox" uuid = "6c2fb7c5-b903-41d2-bc5e-5a7c320b9fab" -authors = ["Alberto Mercurio", "Luca Gravina", "Yi-Te Huang"] +authors = ["Alberto Mercurio", "Yi-Te Huang"] version = "0.16.0" [deps] diff --git a/README.md b/README.md index cd4219aa..d22917c4 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ # QuantumToolbox.jl -[A. Mercurio](https://github.com/albertomercurio), -[L. Gravina](https://github.com/lgravina1997), +[A. Mercurio](https://github.com/albertomercurio) and [Y.-T. Huang](https://github.com/ytdHuang). diff --git a/docs/make.jl b/docs/make.jl index 77fbb75e..d0a631ad 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -63,7 +63,7 @@ const PAGES = [ makedocs(; modules = [QuantumToolbox], - authors = "Alberto Mercurio, Luca Gravina and Yi-Te Huang", + authors = "Alberto Mercurio and Yi-Te Huang", repo = Remotes.GitHub("qutip", "QuantumToolbox.jl"), sitename = "QuantumToolbox.jl", pages = PAGES, diff --git a/docs/src/type_stability.md b/docs/src/type_stability.md index 425ff2b4..b9a31f20 100644 --- a/docs/src/type_stability.md +++ b/docs/src/type_stability.md @@ -278,6 +278,8 @@ And now the return type of the function is clear: @code_warntype my_fock_good(2, 1; sparse = Val(true)) ``` +This is exactly how the current [`fock`](@ref) function is implemented in `QuantumToolbox.jl`. There are many other functions that support this feature, and we highly recommend using it when necessary. + ## Conclusions In this page, we have seen the importance of type stability in Julia, and how to write efficient code in the context of `QuantumToolbox.jl`. We have seen that the internal structure of the [`QuantumObject`](@ref) type is already optimized for the compiler, and we have seen some practical examples of how to write efficient code. We have seen that the use of `Vector` should be avoided when the elements don't have the same type, and that the use of `Tuple` or `SVector` is highly recommended when the size of the array is known at compile time. Finally, we have seen the use of `Val` to pass values at compile time, to avoid type instabilities in some functions. diff --git a/src/versioninfo.jl b/src/versioninfo.jl index 4b67e311..abe725f5 100644 --- a/src/versioninfo.jl +++ b/src/versioninfo.jl @@ -20,7 +20,7 @@ function versioninfo(io::IO = stdout) "≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡\n", "Copyright © QuTiP team 2022 and later.\n", "Current admin team:\n", - " Alberto Mercurio, Luca Gravina, Yi-Te Huang\n", + " Alberto Mercurio and Yi-Te Huang\n", ) # print package informations