Skip to content

Commit c430b28

Browse files
Fix missing url
1 parent 506be64 commit c430b28

File tree

5 files changed

+53
-59
lines changed

5 files changed

+53
-59
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ sol = mesolve(H_gpu, ψ0_gpu, tlist, c_ops, e_ops = e_ops)
169169

170170
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).
171171

172-
![](benchmarks/package_comparison/package_comparison.png)
172+
![](docs/src/resources/package_comparison.png)
173173

174174
## Contributing to QuantumToolbox.jl
175175

benchmarks/package_comparison/package_comparison.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Here we compare the performance of [`QuantumToolbox.jl`](https://github.com/quti
66
- [`dynamiqs`](https://github.com/dynamiqs/dynamiqs) (Python - JAX)
77
- [`QuantumOptics.jl`](https://github.com/qojulia/QuantumOptics.jl) (Julia)
88
9-
To allow reproducibility, this page is generated with [`Literate.jl`](https://github.com/fredrikekre/Literate.jl) based on this source file: [`package_comparison.jl`](@__REPO_ROOT_URL__/benchmarks/package_comparison/package_comparison.jl). Moreover, to keep the code clean, we use the [`PythonCall.jl`](https://github.com/JuliaPy/PythonCall.jl) package to call Python code from Julia. We tested that the overhead of calling Python code from Julia is negligible for the purpose of this benchmark.
9+
To allow reproducibility, this page is generated with [`Literate.jl`](https://github.com/fredrikekre/Literate.jl) based on [this envitonment](https://github.com/qutip/QuantumToolbox.jl/blob/main/benchmarks/package_comparison). Moreover, to keep the code clean, we use the [`PythonCall.jl`](https://github.com/JuliaPy/PythonCall.jl) package to call Python code from Julia. We tested that the overhead of calling Python code from Julia is negligible for the purpose of this benchmark.
1010
1111
## Importing the Required Packages
1212
=#
@@ -227,11 +227,13 @@ elements = [PolyElement(polycolor = colors[i]) for i in 1:length(labels)]
227227

228228
axislegend(ax, elements, labels, position = :lt)
229229

230-
# save("package_comparison.png", fig)
230+
save("package_comparison.png", fig);
231231

232-
fig
232+
## fig
233233

234234
#=
235+
![](package_comparison.png)
236+
235237
---
236238
237239
## System Information
-39.9 KB
Binary file not shown.

docs/src/resources/package_comparison.md

Lines changed: 47 additions & 55 deletions
Large diffs are not rendered by default.
39.9 KB
Loading

0 commit comments

Comments
 (0)