Skip to content

Commit 35fa061

Browse files
committed
minor changes
1 parent ef77a28 commit 35fa061

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/qobj/superoperators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function liouvillian(
134134
) where {DT,OpType<:Union{OperatorQuantumObject,SuperOperatorQuantumObject}}
135135
L = liouvillian(H, Id_cache)
136136
if !(c_ops isa Nothing)
137-
L += mapreduce(c_op -> lindblad_dissipator(c_op), +, c_ops)
137+
L += mapreduce(lindblad_dissipator, +, c_ops)
138138
end
139139
return L
140140
end

test/core-test/quantum_objects_evo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
@test H_td(ψ, p, t) H_ti * ψ
177177
@test isconstant(a) == true
178178
@test isconstant(H_td) == false
179-
@test isconstant(Qobj(a)) == true
179+
@test isconstant(QobjEvo(a)) == true
180180
@test isoper(H_td) == true
181181

182182
# SuperOperator

0 commit comments

Comments
 (0)