Skip to content

Commit 766123c

Browse files
Minor fixes
1 parent 2edaca6 commit 766123c

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

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.33.1"
4+
version = "0.33.0"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
@@ -61,7 +61,7 @@ OrdinaryDiffEqTsit5 = "1"
6161
Pkg = "1"
6262
Random = "1"
6363
SciMLBase = "2"
64-
SciMLOperators = "1"
64+
SciMLOperators = "0.3, 0.4, 1"
6565
SparseArrays = "1"
6666
SpecialFunctions = "2"
6767
StaticArraysCore = "1"

src/qobj/quantum_object_evo.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -512,12 +512,7 @@ function (A::QuantumObjectEvolution)(
512512
)
513513
end
514514

515-
# We put `nothing` in the place of `u` because the time-dependence doesn't depend on the state
516-
## TODO: should use SciMLOperators v1 API: A.data(ψout.data, ψin.data, nothing, p, t)
517-
## But somehow that doesn't work for some specific cases in our runtests.
518-
## Therefore, we use the most basic way to do it for now
519-
update_coefficients!(A.data, nothing, p, t)
520-
mul!(ψout.data, A.data, ψin.data)
515+
A.data(ψout.data, ψin.data, nothing, p, t)
521516

522517
return ψout
523518
end

0 commit comments

Comments
 (0)