Skip to content

Commit acbc2be

Browse files
committed
Merge branch 'main' into code-quality-Julia-1
2 parents 7304a8f + 9fff016 commit acbc2be

File tree

82 files changed

+1303
-1408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+1303
-1408
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
attributes:
2323
label: Code Output
2424
description: Please paste the relevant output here (automatically formatted)
25-
placeholder: "Quantum Object: type=Operator dims=[2] size=(2, 2) ishermitian=true\n2×2 Diagonal{ComplexF64, Vector{ComplexF64}}:\n 1.0+0.0im ⋅ \n ⋅ 1.0+0.0im"
25+
placeholder: "Quantum Object: type=Operator() dims=[2] size=(2, 2) ishermitian=true\n2×2 Diagonal{ComplexF64, Vector{ComplexF64}}:\n 1.0+0.0im ⋅ \n ⋅ 1.0+0.0im"
2626
render: shell
2727
- type: textarea
2828
id: expected-behaviour

.github/workflows/CI.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ jobs:
6767
node:
6868
os: 'ubuntu-latest'
6969
arch: 'x64'
70-
group: 'CairoMakie_Ext'
70+
group: 'Makie_Ext'
71+
- version: '1'
72+
node:
73+
os: 'ubuntu-latest'
74+
arch: 'x64'
75+
group: 'AutoDiff_Ext'
7176

7277
steps:
7378
- uses: actions/checkout@v4

.github/workflows/SpellCheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ jobs:
1010
- name: Checkout Actions Repository
1111
uses: actions/checkout@v4
1212
- name: Check spelling
13-
uses: crate-ci/typos@v1.31.1
13+
uses: crate-ci/typos@v1.32.0

.github/workflows/documentation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
- synchronize
2222
- ready_for_review
2323

24+
# Allows you to run this workflow manually from the Actions tab
25+
workflow_dispatch:
26+
2427
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
2528
permissions:
2629
contents: write

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased](https://github.com/qutip/QuantumToolbox.jl/tree/main)
99

10+
## [v0.31.1]
11+
Release date: 2025-05-16
12+
13+
- Introduce `QuantumToolbox.settings` and `auto_tidyup`. ([#460])
14+
15+
## [v0.31.0]
16+
Release date: 2025-05-03
17+
18+
- Return `sesolve` when `mesolve` allows it. ([#455])
19+
- Simplify structure of `QuantumObjectType`s. ([#456])
20+
21+
## [v0.30.1]
22+
Release date: 2025-04-24
23+
24+
- Support different length for `to` and `from` on GeneralDimensions. ([#448])
25+
- Extend the `Makie.jl` extension to all the other available backends. ([#450])
26+
- Fix definition of noise derivative in stochastic solvers. ([#453])
27+
28+
## [v0.30.0]
29+
Release date: 2025-04-12
30+
1031
- Make CUDA conversion more general using Adapt.jl. ([#436], [#437])
1132
- Make the generation of `fock` states non-mutating to support Zygote.jl. ([#438])
1233
- Remove Reexport.jl from the dependencies. ([#443])
34+
- Add support for automatic differentiation for `sesolve` and `mesolve`. ([#440])
1335

1436
## [v0.29.1]
1537
Release date: 2025-03-07
@@ -136,6 +158,10 @@ Release date: 2024-11-13
136158
[v0.28.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.28.0
137159
[v0.29.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.29.0
138160
[v0.29.1]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.29.1
161+
[v0.30.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.30.0
162+
[v0.30.1]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.30.1
163+
[v0.31.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.31.0
164+
[v0.31.1]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.31.1
139165
[#86]: https://github.com/qutip/QuantumToolbox.jl/issues/86
140166
[#139]: https://github.com/qutip/QuantumToolbox.jl/issues/139
141167
[#271]: https://github.com/qutip/QuantumToolbox.jl/issues/271
@@ -194,4 +220,11 @@ Release date: 2024-11-13
194220
[#436]: https://github.com/qutip/QuantumToolbox.jl/issues/436
195221
[#437]: https://github.com/qutip/QuantumToolbox.jl/issues/437
196222
[#438]: https://github.com/qutip/QuantumToolbox.jl/issues/438
223+
[#440]: https://github.com/qutip/QuantumToolbox.jl/issues/440
197224
[#443]: https://github.com/qutip/QuantumToolbox.jl/issues/443
225+
[#448]: https://github.com/qutip/QuantumToolbox.jl/issues/448
226+
[#450]: https://github.com/qutip/QuantumToolbox.jl/issues/450
227+
[#453]: https://github.com/qutip/QuantumToolbox.jl/issues/453
228+
[#455]: https://github.com/qutip/QuantumToolbox.jl/issues/455
229+
[#456]: https://github.com/qutip/QuantumToolbox.jl/issues/456
230+
[#460]: https://github.com/qutip/QuantumToolbox.jl/issues/460

CITATION.bib

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@article{QuantumToolbox-jl2025,
2+
title={{QuantumToolbox.jl}: An efficient {Julia} framework for simulating open quantum systems},
3+
author={Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
4+
journal={arXiv preprint arXiv:2504.21440},
5+
year={2025},
6+
publisher = {arXiv},
7+
eprint={2504.21440},
8+
archivePrefix={arXiv},
9+
primaryClass={quant-ph},
10+
doi = {10.48550/arXiv.2504.21440}
11+
}

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ docs:
1919
${JULIA} --project=docs docs/make.jl
2020

2121
vitepress:
22-
npm --prefix docs i
2322
npm --prefix docs run docs:dev
2423

2524
all: setup format changelog test docs vitepress

Project.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "QuantumToolbox"
22
uuid = "6c2fb7c5-b903-41d2-bc5e-5a7c320b9fab"
33
authors = ["Alberto Mercurio", "Yi-Te Huang"]
4-
version = "0.29.1"
4+
version = "0.31.1"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
@@ -27,19 +27,21 @@ StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
2727

2828
[weakdeps]
2929
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
30-
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
30+
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
3131
GPUArrays = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
3232
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
33+
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
3334

3435
[extensions]
3536
QuantumToolboxCUDAExt = "CUDA"
36-
QuantumToolboxCairoMakieExt = "CairoMakie"
37+
QuantumToolboxChainRulesCoreExt = "ChainRulesCore"
3738
QuantumToolboxGPUArraysExt = ["GPUArrays", "KernelAbstractions"]
39+
QuantumToolboxMakieExt = "Makie"
3840

3941
[compat]
4042
ArrayInterface = "6, 7"
4143
CUDA = "5"
42-
CairoMakie = "0.12, 0.13"
44+
ChainRulesCore = "1"
4345
DiffEqBase = "6"
4446
DiffEqCallbacks = "4.2.1 - 4"
4547
DiffEqNoiseProcess = "5"
@@ -51,12 +53,13 @@ IncompleteLU = "0.2"
5153
KernelAbstractions = "0.9.2"
5254
LinearAlgebra = "1"
5355
LinearSolve = "2, 3"
56+
Makie = "0.20, 0.21, 0.22"
5457
OrdinaryDiffEqCore = "1"
5558
OrdinaryDiffEqTsit5 = "1"
5659
Pkg = "1"
5760
Random = "1"
5861
SciMLBase = "2"
59-
SciMLOperators = "0.3"
62+
SciMLOperators = "0.3, 0.4"
6063
SparseArrays = "1"
6164
SpecialFunctions = "2"
6265
StaticArraysCore = "1"

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Logo -->
22
<div align="center">
3-
<img src="./docs/src/public/logo.png" alt="QuantumToolbox.jl logo" width="150">
3+
<img src="./docs/src/assets/logo.png" alt="QuantumToolbox.jl logo" width="150">
44
</div>
55

66
# QuantumToolbox.jl
@@ -10,7 +10,7 @@
1010
and [Y.-T. Huang](https://github.com/ytdHuang).
1111

1212
<!-- Table of Badges -->
13-
| **Release** | [![Release][release-img]][release-url] [![License][license-img]][license-url] [![DOI][doi-img]][doi-url] [![Downloads][download-img]][download-url] |
13+
| **Release** | [![Release][release-img]][release-url] [![License][license-img]][license-url] [![Cite][cite-img]][cite-url] [![Downloads][download-img]][download-url] |
1414
|:-----------------:|:-------------|
1515
| **Runtests** | [![Runtests][runtests-img]][runtests-url] [![Coverage][codecov-img]][codecov-url] |
1616
| **Code Quality** | [![Code Quality][code-quality-img]][code-quality-url] [![Aqua QA][aqua-img]][aqua-url] [![JET][jet-img]][jet-url] |
@@ -24,8 +24,8 @@ and [Y.-T. Huang](https://github.com/ytdHuang).
2424
[license-img]: https://img.shields.io/badge/license-New%20BSD-blue.svg
2525
[license-url]: https://opensource.org/licenses/BSD-3-Clause
2626

27-
[doi-img]: https://zenodo.org/badge/DOI/10.5281/zenodo.10822816.svg
28-
[doi-url]: https://doi.org/10.5281/zenodo.10822816
27+
[cite-img]: https://img.shields.io/badge/cite-arXiv%3A2504.21440_(2023)-blue
28+
[cite-url]: https://doi.org/10.48550/arXiv.2504.21440
2929

3030
[download-img]: https://img.shields.io/badge/dynamic/json?url=http%3A%2F%2Fjuliapkgstats.com%2Fapi%2Fv1%2Ftotal_downloads%2FQuantumToolbox&query=total_requests&label=Downloads
3131
[download-url]: https://juliapkgstats.com/pkg/QuantumToolbox
@@ -177,6 +177,23 @@ You are most welcome to contribute to `QuantumToolbox.jl` development by forking
177177

178178
For more information about contribution, including technical advice, please see the [Contributing to Quantum Toolbox in Julia](https://qutip.org/QuantumToolbox.jl/stable/resources/contributing).
179179

180+
## Cite `QuantumToolbox.jl`
181+
If you like `QuantumToolbox.jl`, we would appreciate it if you starred the repository in order to help us increase its visibility. Furthermore, if you find the framework useful in your research, we would be grateful if you could cite our arXiv preprint [ [arXiv:2504.21440 (2025)](https://doi.org/10.48550/arXiv.2504.21440) ] using the following bibtex entry:
182+
183+
```bib
184+
@article{QuantumToolbox-jl2025,
185+
title={{QuantumToolbox.jl}: An efficient {Julia} framework for simulating open quantum systems},
186+
author={Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
187+
journal={arXiv preprint arXiv:2504.21440},
188+
year={2025},
189+
publisher = {arXiv},
190+
eprint={2504.21440},
191+
archivePrefix={arXiv},
192+
primaryClass={quant-ph},
193+
doi = {10.48550/arXiv.2504.21440}
194+
}
195+
```
196+
180197
## Acknowledgements
181198

182199
### Fundings

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
66
DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244"
77
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365"
88
QuantumToolbox = "6c2fb7c5-b903-41d2-bc5e-5a7c320b9fab"
9+
10+
[compat]
11+
DocumenterVitepress = "0.2"

0 commit comments

Comments
 (0)