You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the [`SuperOperator`](@ref) form of `A` acting on the left of the density matrix operator: ``\mathcal{O} \left(\hat{A}\right) \left[ \hat{\rho} \right] = \hat{A} \hat{\rho}``.
22
35
@@ -27,14 +40,13 @@ Since the density matrix is vectorized in [`OperatorKet`](@ref) form: ``|\hat{\r
27
40
```
28
41
(see the section in documentation: [Superoperators and Vectorized Operators](@ref doc:Superoperators-and-Vectorized-Operators) for more details)
29
42
30
-
The optional argument `Id_cache` can be used to pass a precomputed identity matrix. This can be useful when
31
-
the same function is applied multiple times with a known Hilbert space dimension.
43
+
The optional argument `Id_cache` can be used to pass a precomputed identity matrix. This can be useful when the same function is applied multiple times with a known Hilbert space dimension.
32
44
"""
33
-
spre(A::QuantumObject{<:AbstractArray{T},OperatorQuantumObject}, Id_cache =I(size(A, 1))) where {T} =
Returns the [`SuperOperator`](@ref) form of `B` acting on the right of the density matrix operator: ``\mathcal{O} \left(\hat{B}\right) \left[ \hat{\rho} \right] = \hat{\rho} \hat{B}``.
40
52
@@ -45,11 +57,10 @@ Since the density matrix is vectorized in [`OperatorKet`](@ref) form: ``|\hat{\r
45
57
```
46
58
(see the section in documentation: [Superoperators and Vectorized Operators](@ref doc:Superoperators-and-Vectorized-Operators) for more details)
47
59
48
-
The optional argument `Id_cache` can be used to pass a precomputed identity matrix. This can be useful when
49
-
the same function is applied multiple times with a known Hilbert space dimension.
60
+
The optional argument `Id_cache` can be used to pass a precomputed identity matrix. This can be useful when the same function is applied multiple times with a known Hilbert space dimension.
50
61
"""
51
-
spost(B::QuantumObject{<:AbstractArray{T},OperatorQuantumObject}, Id_cache =I(size(B, 1))) where {T} =
The optional argument `Id_cache` can be used to pass a precomputed identity matrix. This can be useful when
88
-
the same function is applied multiple times with a known Hilbert space dimension.
98
+
The optional argument `Id_cache` can be used to pass a precomputed identity matrix. This can be useful when the same function is applied multiple times with a known Hilbert space dimension.
89
99
90
-
See also [`spre`](@ref)and [`spost`](@ref).
100
+
See also [`spre`](@ref), [`spost`](@ref), and [`sprepost`](@ref).
91
101
"""
92
102
functionlindblad_dissipator(O::QuantumObject{DT,OperatorQuantumObject}, Id_cache =I(size(O, 1))) where {DT}
Copy file name to clipboardExpand all lines: src/time_evolution/mesolve.jl
+1-17Lines changed: 1 addition & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -42,23 +42,7 @@ function _generate_mesolve_kwargs(e_ops, progress_bar::Val{false}, tlist, kwargs
42
42
end
43
43
44
44
_mesolve_make_L_QobjEvo(H::QuantumObject, c_ops) =QobjEvo(liouvillian(H, c_ops); type = SuperOperator)
45
-
function_mesolve_make_L_QobjEvo(H::Tuple, c_ops)
46
-
c_ops isa Nothing &&returnQobjEvo(H; type = SuperOperator, f = liouvillian)
47
-
returnQobjEvo((H..., mapreduce(op ->lindblad_dissipator(op), +, c_ops)); type = SuperOperator, f = liouvillian)
48
-
end
49
-
_mesolve_make_L_QobjEvo(H::QuantumObjectEvolution{DT,OperatorQuantumObject}, c_ops) where {DT<:AbstractSciMLOperator} =
50
-
throw(
51
-
ArgumentError(
52
-
"This function does not support the data type of time-dependent Operator `H` currently. Try to provide `H` as a time-dependent SuperOperator or Tuple instead.",
0 commit comments