Skip to content

Commit 50f092a

Browse files
committed
Merge branch 'main' into compathelper/new_version/2025-05-18-01-12-40-990-02575485215
2 parents 57c61aa + bc76e9f commit 50f092a

40 files changed

+1629
-869
lines changed

.github/workflows/CI-Julia-nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ jobs:
5858
- uses: julia-actions/julia-runtest@v1
5959
env:
6060
GROUP: ${{ matrix.group }}
61+
JULIA_NUM_THREADS: auto

.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.33.1
13+
uses: crate-ci/typos@v1.34.0

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[default.extend-words]
22
ket = "ket"
33
sme = "sme"
4+
nd = "nd"

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,27 @@ 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.33.0]
11+
Release date: 2025-07-22
12+
13+
- Implement `EnrSpace` and corresponding functionality. ([#500])
14+
- Check for orthogonality breakdown in `Lanczos` solver for `spectrum`. ([#501])
15+
- Store both `times` and `times_states` in time evolution solutions. ([#506], [#504])
16+
- Fix errors in `Julia v1.12`. ([#507])
17+
18+
## [v0.32.1]
19+
Release date: 2025-06-24
20+
21+
This is a release just for updating documentation.
22+
23+
## [v0.32.0]
24+
Release date: 2025-06-23
25+
1026
- Introduce `Lanczos` solver for `spectrum`. ([#476])
1127
- Add Bloch-Redfield master equation solver. ([#473])
1228
- Implement Bloch Sphere rendering and align style with qutip. ([#472], [#480], [#485], [#487], [#489])
1329
- Add `Base.copy` method for `AbstractQuantumObject`. ([#486])
30+
- Add documentation for Bloch-Redfield master equation. ([#494])
1431

1532
## [v0.31.1]
1633
Release date: 2025-05-16
@@ -167,6 +184,9 @@ Release date: 2024-11-13
167184
[v0.30.1]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.30.1
168185
[v0.31.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.31.0
169186
[v0.31.1]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.31.1
187+
[v0.32.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.32.0
188+
[v0.32.1]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.32.1
189+
[v0.33.0]: https://github.com/qutip/QuantumToolbox.jl/releases/tag/v0.33.0
170190
[#86]: https://github.com/qutip/QuantumToolbox.jl/issues/86
171191
[#139]: https://github.com/qutip/QuantumToolbox.jl/issues/139
172192
[#271]: https://github.com/qutip/QuantumToolbox.jl/issues/271
@@ -241,3 +261,9 @@ Release date: 2024-11-13
241261
[#486]: https://github.com/qutip/QuantumToolbox.jl/issues/486
242262
[#487]: https://github.com/qutip/QuantumToolbox.jl/issues/487
243263
[#489]: https://github.com/qutip/QuantumToolbox.jl/issues/489
264+
[#494]: https://github.com/qutip/QuantumToolbox.jl/issues/494
265+
[#500]: https://github.com/qutip/QuantumToolbox.jl/issues/500
266+
[#501]: https://github.com/qutip/QuantumToolbox.jl/issues/501
267+
[#504]: https://github.com/qutip/QuantumToolbox.jl/issues/504
268+
[#506]: https://github.com/qutip/QuantumToolbox.jl/issues/506
269+
[#507]: https://github.com/qutip/QuantumToolbox.jl/issues/507

Project.toml

Lines changed: 2 additions & 2 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.31.1"
4+
version = "0.33.0"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
@@ -55,7 +55,7 @@ KernelAbstractions = "0.9.2"
5555
LaTeXStrings = "1.2"
5656
LinearAlgebra = "1"
5757
LinearSolve = "2, 3"
58-
Makie = "0.20, 0.21, 0.22, 0.23"
58+
Makie = "0.20, 0.21, 0.22, 0.23, 0.24"
5959
OrdinaryDiffEqCore = "1"
6060
OrdinaryDiffEqTsit5 = "1"
6161
Pkg = "1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ 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-
[cite-img]: https://img.shields.io/badge/cite-arXiv%3A2504.21440_(2023)-blue
27+
[cite-img]: https://img.shields.io/badge/cite-arXiv%3A2504.21440_(2025)-blue
2828
[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

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ const PAGES = [
5959
"Monte Carlo Solver" => "users_guide/time_evolution/mcsolve.md",
6060
"Stochastic Solver" => "users_guide/time_evolution/stochastic.md",
6161
"Solving Problems with Time-dependent Hamiltonians" => "users_guide/time_evolution/time_dependent.md",
62+
"Bloch-Redfield master equation" => "users_guide/time_evolution/brmesolve.md",
6263
],
6364
"Intensive parallelization on a Cluster" => "users_guide/cluster.md",
6465
"Hierarchical Equations of Motion" => "users_guide/HEOM.md",

docs/src/resources/api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ end
1818

1919
```@docs
2020
Space
21+
EnrSpace
2122
Dimensions
2223
GeneralDimensions
2324
AbstractQuantumObject
@@ -122,6 +123,8 @@ coherent_dm
122123
thermal_dm
123124
maximally_mixed_dm
124125
rand_dm
126+
enr_fock
127+
enr_thermal_dm
125128
spin_state
126129
spin_coherent
127130
bell_state
@@ -152,6 +155,8 @@ QuantumToolbox.momentum
152155
phase
153156
fdestroy
154157
fcreate
158+
enr_destroy
159+
enr_identity
155160
tunneling
156161
qft
157162
eye
@@ -312,6 +317,7 @@ PhysicalConstants
312317
convert_unit
313318
row_major_reshape
314319
meshgrid
320+
enr_state_dictionaries
315321
```
316322

317323
## [Visualization](@id doc-API:Visualization)

docs/src/resources/bibliography.bib

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,23 @@ @article{Hill-Wootters1997
119119
doi = {10.1103/PhysRevLett.78.5022},
120120
url = {https://link.aps.org/doi/10.1103/PhysRevLett.78.5022}
121121
}
122+
123+
@book{Cohen_Tannoudji_atomphoton,
124+
address = {New York},
125+
author = {{Cohen-Tannoudji}, C. and {Grynberg}, G. and {Dupont-Roc}, J.},
126+
publisher = {Wiley},
127+
timestamp = {2010-12-01T16:20:40.000+0100},
128+
title = {Atom-Photon Interactions: Basic Processes and Applications },
129+
year = 1992
130+
}
131+
132+
@book{breuer2002,
133+
title = {The Theory of Open Quantum Systems},
134+
author = {Breuer, Heinz-Peter and Petruccione, Francesco},
135+
year = {2002},
136+
publisher = {Oxford university press},
137+
address = {Oxford New York},
138+
isbn = {978-0-19-852063-4},
139+
langid = {english},
140+
lccn = {530.12}
141+
}

docs/src/users_guide/QuantumObject/QuantumObject.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,16 @@ Manually specifying the data for each quantum object is inefficient. Even more s
6666

6767
### States
6868
- [`zero_ket`](@ref): zero ket vector
69-
- [`fock`](@ref) or [`basis`](@ref): fock state ket vector
70-
- [`fock_dm`](@ref): density matrix of a fock state
69+
- [`fock`](@ref) or [`basis`](@ref): Fock state ket vector
70+
- [`fock_dm`](@ref): density matrix of a Fock state
7171
- [`coherent`](@ref): coherent state ket vector
7272
- [`rand_ket`](@ref): random ket vector
7373
- [`coherent_dm`](@ref): density matrix of a coherent state
7474
- [`thermal_dm`](@ref): density matrix of a thermal state
7575
- [`maximally_mixed_dm`](@ref): density matrix of a maximally mixed state
7676
- [`rand_dm`](@ref): random density matrix
77+
- [`enr_fock`](@ref): Fock state in the excitation number restricted (ENR) space
78+
- [`enr_thermal_dm`](@ref): thermal state in the excitation number restricted (ENR) space
7779
- [`spin_state`](@ref): spin state
7880
- [`spin_coherent`](@ref): coherent spin state
7981
- [`bell_state`](@ref): Bell state
@@ -108,6 +110,8 @@ Manually specifying the data for each quantum object is inefficient. Even more s
108110
- [`spin_J_set`](@ref): a set of Spin-`j` operators ``(S_x, S_y, S_z)``
109111
- [`fdestroy`](@ref): fermion destruction operator
110112
- [`fcreate`](@ref): fermion creation operator
113+
- [`enr_destroy`](@ref): destruction operator in the excitation number restricted (ENR) space
114+
- [`enr_identity`](@ref): identity operator in the excitation number restricted (ENR) space
111115
- [`commutator`](@ref): commutator or anti-commutator
112116
- [`tunneling`](@ref): tunneling operator
113117
- [`qft`](@ref): discrete quantum Fourier transform matrix

0 commit comments

Comments
 (0)