Skip to content

Commit e42e862

Browse files
committed
update citation bibtex and bump version to v2.7.0
1 parent 3ea84f0 commit e42e862

File tree

7 files changed

+142
-64
lines changed

7 files changed

+142
-64
lines changed

CITATION.bib

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1-
@article{HierarchicalEOM-jl2023,
2-
doi = {10.1038/s42005-023-01427-2},
3-
url = {https://doi.org/10.1038/s42005-023-01427-2},
4-
year = {2023},
5-
month = {Oct},
1+
@article{HierarchicalEOM.jl2023,
2+
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
3+
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
4+
journal = {Communications Physics},
65
publisher = {Nature Portfolio},
76
volume = {6},
87
number = {1},
98
pages = {313},
10-
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
11-
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
12-
journal = {Communications Physics}
9+
month = {Oct},
10+
year = {2023},
11+
doi = {10.1038/s42005-023-01427-2},
12+
url = {https://doi.org/10.1038/s42005-023-01427-2}
13+
}
14+
15+
@article{QuantumToolbox.jl2025,
16+
title = {Quantum{T}oolbox.jl: {A}n efficient {J}ulia framework for simulating open quantum systems},
17+
author = {Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
18+
journal = {{Quantum}},
19+
issn = {2521-327X},
20+
publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
21+
volume = {9},
22+
pages = {1866},
23+
month = sep,
24+
year = {2025},
25+
doi = {10.22331/q-2025-09-29-1866},
26+
url = {https://doi.org/10.22331/q-2025-09-29-1866}
1327
}

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "HierarchicalEOM"
22
uuid = "a62dbcb7-80f5-4d31-9a88-8b19fd92b128"
33
authors = ["Yi-Te Huang"]
4-
version = "2.6.0"
4+
version = "2.7.0"
55

66
[deps]
77
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
@@ -37,7 +37,7 @@ LinearSolve = "2.4.2 - 3"
3737
OrdinaryDiffEqCore = "1"
3838
OrdinaryDiffEqLowOrderRK = "1"
3939
Pkg = "1"
40-
QuantumToolbox = "0.34, 0.35"
40+
QuantumToolbox = "0.36"
4141
Reexport = "1"
4242
SciMLBase = "2.105"
4343
SciMLOperators = "1.4"

README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -75,34 +75,36 @@ The documentation can be found in :
7575
If you like `HierarchicalEOM.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 publication [ [Communications Physics 6, 313 (2023)](https://doi.org/10.1038/s42005-023-01427-2) ] using the following bibtex entry:
7676

7777
```bib
78-
@article{HierarchicalEOM-jl2023,
79-
doi = {10.1038/s42005-023-01427-2},
80-
url = {https://doi.org/10.1038/s42005-023-01427-2},
81-
year = {2023},
82-
month = {Oct},
78+
@article{HierarchicalEOM.jl2023,
79+
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
80+
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
81+
journal = {Communications Physics},
8382
publisher = {Nature Portfolio},
8483
volume = {6},
8584
number = {1},
8685
pages = {313},
87-
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
88-
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
89-
journal = {Communications Physics}
86+
month = {Oct},
87+
year = {2023},
88+
doi = {10.1038/s42005-023-01427-2},
89+
url = {https://doi.org/10.1038/s42005-023-01427-2}
9090
}
9191
```
9292

93-
Since this package is built on top of [`QuantumToolbox.jl`](https://qutip.org/QuantumToolbox.jl/), we would appreciate it if you could also cite the arXiv preprint [ [arXiv:2504.21440 (2025)](https://doi.org/10.48550/arXiv.2504.21440) ] using the following bibtex entry:
93+
Since this package is built on top of [`QuantumToolbox.jl`](https://qutip.org/QuantumToolbox.jl/), we would appreciate it if you could also cite the publication [ [Quantum 9, 1866 (2025)](https://doi.org/10.22331/q-2025-09-29-1866) ] using the following bibtex entry:
9494

9595
```bib
96-
@article{QuantumToolbox-jl2025,
97-
title={{QuantumToolbox.jl}: An efficient {Julia} framework for simulating open quantum systems},
98-
author={Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
99-
journal={arXiv preprint arXiv:2504.21440},
100-
year={2025},
101-
publisher = {arXiv},
102-
eprint={2504.21440},
103-
archivePrefix={arXiv},
104-
primaryClass={quant-ph},
105-
doi = {10.48550/arXiv.2504.21440}
96+
@article{QuantumToolbox.jl2025,
97+
title = {Quantum{T}oolbox.jl: {A}n efficient {J}ulia framework for simulating open quantum systems},
98+
author = {Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
99+
journal = {{Quantum}},
100+
issn = {2521-327X},
101+
publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
102+
volume = {9},
103+
pages = {1866},
104+
month = sep,
105+
year = {2025},
106+
doi = {10.22331/q-2025-09-29-1866},
107+
url = {https://doi.org/10.22331/q-2025-09-29-1866}
106108
}
107109
```
108110

docs/src/cite.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,35 @@
33
If you like `HierarchicalEOM.jl`, we would appreciate it if you could cite our publication [ [Communications Physics 6, 313 (2023)](https://doi.org/10.1038/s42005-023-01427-2) ] using the following bibtex entry:
44

55
```bib
6-
@article{HierarchicalEOM-jl2023,
7-
doi = {10.1038/s42005-023-01427-2},
8-
url = {https://doi.org/10.1038/s42005-023-01427-2},
9-
year = {2023},
10-
month = {Oct},
6+
@article{HierarchicalEOM.jl2023,
7+
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
8+
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
9+
journal = {Communications Physics},
1110
publisher = {Nature Portfolio},
1211
volume = {6},
1312
number = {1},
1413
pages = {313},
15-
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
16-
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
17-
journal = {Communications Physics}
14+
month = {Oct},
15+
year = {2023},
16+
doi = {10.1038/s42005-023-01427-2},
17+
url = {https://doi.org/10.1038/s42005-023-01427-2}
1818
}
1919
```
2020

21-
Since this package is built on top of [`QuantumToolbox.jl`](https://qutip.org/QuantumToolbox.jl/), we would appreciate it if you could also cite the arXiv preprint [ [arXiv:2504.21440 (2025)](https://doi.org/10.48550/arXiv.2504.21440) ] using the following bibtex entry:
21+
Since this package is built on top of [`QuantumToolbox.jl`](https://qutip.org/QuantumToolbox.jl/), we would appreciate it if you could also cite the publication [ [Quantum 9, 1866 (2025)](https://doi.org/10.22331/q-2025-09-29-1866) ] using the following bibtex entry:
2222

2323
```bib
24-
@article{QuantumToolbox-jl2025,
25-
title={{QuantumToolbox.jl}: An efficient {Julia} framework for simulating open quantum systems},
26-
author={Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
27-
journal={arXiv preprint arXiv:2504.21440},
28-
year={2025},
29-
publisher = {arXiv},
30-
eprint={2504.21440},
31-
archivePrefix={arXiv},
32-
primaryClass={quant-ph},
33-
doi = {10.48550/arXiv.2504.21440}
24+
@article{QuantumToolbox.jl2025,
25+
title = {Quantum{T}oolbox.jl: {A}n efficient {J}ulia framework for simulating open quantum systems},
26+
author = {Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
27+
journal = {{Quantum}},
28+
issn = {2521-327X},
29+
publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
30+
volume = {9},
31+
pages = {1866},
32+
month = sep,
33+
year = {2025},
34+
doi = {10.22331/q-2025-09-29-1866},
35+
url = {https://doi.org/10.22331/q-2025-09-29-1866}
3436
}
3537
```

docs/src/libraryAPI.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ DensityOfStates
130130
```@docs
131131
HierarchicalEOM.versioninfo()
132132
HierarchicalEOM.about()
133+
HierarchicalEOM.cite()
133134
```
134135
The outputs will be something like the following:
135136
```@example

src/HeomBase.jl

Lines changed: 54 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function _get_pkg_version(pkg_name::String)
118118
end
119119
end
120120

121-
"""
121+
@doc raw"""
122122
HierarchicalEOM.print_logo(io::IO=stdout)
123123
124124
Print the Logo of HierarchicalEOM package
@@ -178,10 +178,10 @@ function print_logo(io::IO = stdout)
178178
return printstyled(io, "\n")
179179
end
180180

181-
"""
181+
@doc raw"""
182182
HierarchicalEOM.versioninfo(io::IO=stdout)
183183
184-
Command line output of information on HierarchicalEOM, dependencies, and system information.
184+
Command line output of information on HierarchicalEOM, dependencies, and system information, same as [`HierarchicalEOM.about`](@ref).
185185
"""
186186
function versioninfo(io::IO = stdout)
187187
cpu = Sys.cpu_info()
@@ -218,22 +218,60 @@ function versioninfo(io::IO = stdout)
218218
)
219219

220220
# print System information
221-
println(io, "System information:")
222-
println(io, "====================================")
223-
println(io, """OS : $(OS_name) ($(Sys.MACHINE))""")
224-
println(io, """CPU : $(length(cpu)) × $(cpu[1].model)""")
225-
println(io, """Memory : $(round(Sys.total_memory() / 2 ^ 30, digits=3)) GB""")
226-
println(io, """WORD_SIZE: $(Sys.WORD_SIZE)""")
227-
println(io, """LIBM : $(Base.libm_name)""")
228-
println(io, """LLVM : libLLVM-$(Base.libllvm_version) ($(Sys.JIT), $(Sys.CPU_NAME))""")
229-
println(io, """BLAS : $(basename(BLAS_info.libname)) ($(BLAS_info.interface))""")
230-
println(io, """Threads : $(Threads.nthreads()) (on $(Sys.CPU_THREADS) virtual cores)""")
231-
return print(io, "\n")
221+
println(
222+
io,
223+
"System information:\n",
224+
"====================================\n",
225+
"""OS : $(OS_name) ($(Sys.MACHINE))\n""",
226+
"""CPU : $(length(cpu)) × $(cpu[1].model)\n""",
227+
"""Memory : $(round(Sys.total_memory() / 2 ^ 30, digits=3)) GB\n""",
228+
"""WORD_SIZE: $(Sys.WORD_SIZE)\n""",
229+
"""LIBM : $(Base.libm_name)\n""",
230+
"""LLVM : libLLVM-$(Base.libllvm_version) ($(Sys.JIT), $(Sys.CPU_NAME))\n""",
231+
"""BLAS : $(basename(BLAS_info.libname)) ($(BLAS_info.interface))\n""",
232+
"""Threads : $(Threads.nthreads()) (on $(Sys.CPU_THREADS) virtual cores)\n""",
233+
)
234+
235+
# print citation information
236+
println(
237+
io,
238+
"+----------------------------------------------------+\n",
239+
"| Please cite HierarchicalEOM.jl in your publication |\n",
240+
"+----------------------------------------------------+\n",
241+
"For your convenience, a bibtex reference can be easily generated using `HierarchicalEOM.cite()`.\n",
242+
)
243+
return nothing
232244
end
233245

234-
"""
235-
QuantumToolbox.about(io::IO=stdout)
246+
@doc raw"""
247+
HierarchicalEOM.about(io::IO=stdout)
236248
237249
Command line output of information on HierarchicalEOM, dependencies, and system information, same as [`HierarchicalEOM.versioninfo`](@ref).
238250
"""
239251
about(io::IO = stdout) = versioninfo(io)
252+
253+
@doc raw"""
254+
HierarchicalEOM.cite(io::IO = stdout)
255+
256+
Command line output of citation information and bibtex generator for `HierarchicalEOM.jl`.
257+
"""
258+
function cite(io::IO = stdout)
259+
citation = raw"""
260+
@article{HierarchicalEOM.jl2023,
261+
title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},
262+
author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},
263+
journal = {Communications Physics},
264+
publisher = {Nature Portfolio},
265+
volume = {6},
266+
number = {1},
267+
pages = {313},
268+
month = {Oct},
269+
year = {2023},
270+
doi = {10.1038/s42005-023-01427-2},
271+
url = {https://doi.org/10.1038/s42005-023-01427-2}
272+
}
273+
"""
274+
print(io, citation)
275+
QuantumToolbox.cite(io)
276+
return nothing
277+
end

test/cite.jl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@testitem "Citation Bibtex" begin
2+
# citation bibtex
3+
io_buffer = IOBuffer()
4+
HierarchicalEOM.cite(io_buffer)
5+
captured_output = String(take!(io_buffer))
6+
@test captured_output ==
7+
"""@article{HierarchicalEOM.jl2023,\n""" *
8+
""" title = {An efficient {J}ulia framework for hierarchical equations of motion in open quantum systems},\n""" *
9+
""" author = {Huang, Yi-Te and Kuo, Po-Chen and Lambert, Neill and Cirio, Mauro and Cross, Simon and Yang, Shen-Liang and Nori, Franco and Chen, Yueh-Nan},\n""" *
10+
""" journal = {Communications Physics},\n""" *
11+
""" publisher = {Nature Portfolio},\n""" *
12+
""" volume = {6},\n""" *
13+
""" number = {1},\n""" *
14+
""" pages = {313},\n""" *
15+
""" month = {Oct},\n""" *
16+
""" year = {2023},\n""" *
17+
""" doi = {10.1038/s42005-023-01427-2},\n""" *
18+
""" url = {https://doi.org/10.1038/s42005-023-01427-2}\n""" *
19+
"""}\n""" *
20+
QuantumToolbox.cite(io_buffer)
21+
end

0 commit comments

Comments
 (0)