Skip to content

Commit

Permalink
Remove Luca from list of maintainers
Browse files Browse the repository at this point in the history
  • Loading branch information
albertomercurio committed Oct 3, 2024
1 parent 58d5d88 commit ce7af7c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
# QuantumToolbox.jl

<!-- Current admin team (in chronological order) -->
[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).

<!-- Table of Badges -->
Expand Down
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions docs/src/type_stability.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/versioninfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ce7af7c

Please sign in to comment.