Skip to content

Commit 506be64

Browse files
Add Benchmark Comparison
1 parent c90a1db commit 506be64

File tree

13 files changed

+3659
-1
lines changed

13 files changed

+3659
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*.jl.*.cov
44
*.jl.cov
55
*.jl.mem
6-
Manifest.toml
6+
/Manifest.toml
77

88
.vscode
99

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ e_ops = [a_gpu' * a_gpu]
165165
sol = mesolve(H_gpu, ψ0_gpu, tlist, c_ops, e_ops = e_ops)
166166
```
167167

168+
## Performance comparison with other packages
169+
170+
Here we provide a brief performance comparison between `QuantumToolbox.jl` and other popular quantum physics simulation packages, such as [`QuTiP`](https://github.com/qutip/qutip) (Python), [`dynamiqs`](https://github.com/dynamiqs/dynamiqs) (Python - JAX) and [`QuantumOptics.jl`](https://github.com/qojulia/QuantumOptics.jl) (Julia). We clearly show that `QuantumToolbox.jl` is the fastest package among the four. A detailed code is available [here](https://qutip.org/QuantumToolbox.jl/stable/resources/package_comparison).
171+
172+
![](benchmarks/package_comparison/package_comparison.png)
173+
168174
## Contributing to QuantumToolbox.jl
169175

170176
You are most welcome to contribute to `QuantumToolbox.jl` development by forking this repository and sending pull requests (PRs), or filing bug reports at the issues page. You can also help out with users' questions, or discuss proposed changes in the [QuTiP discussion group](https://groups.google.com/g/qutip).

benchmarks/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Manifest.toml

benchmarks/package_comparison/.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export JULIA_NUM_THREADS=16
2+
export JULIA_CONDAPKG_BACKEND=Null
3+
export JULIA_PYTHONCALL_EXE=$(which python)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyenv/

0 commit comments

Comments
 (0)