Skip to content

Commit 09578e6

Browse files
committed
fix typo
1 parent 08c89f7 commit 09578e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qobj/superoperators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ _liouvillian(H::AddedOperator, Id::AbstractMatrix) = AddedOperator(map(op -> _li
5555
# intrinsic lindblad_dissipator
5656
function _lindblad_dissipator(O::MT, Id::AbstractMatrix) where {MT<:Union{AbstractMatrix,AbstractSciMLOperator}}
5757
Od_O = O' * O
58-
return _sprepost(O, O') + _complex_float_type(H)(-0.5 + 0.0im) * (_spre(Od_O, Id) + _spost(Od_O, Id))
58+
return _sprepost(O, O') + _complex_float_type(O)(-0.5 + 0.0im) * (_spre(Od_O, Id) + _spost(Od_O, Id))
5959
end
6060
function _lindblad_dissipator(O::MatrixOperator, Id::AbstractMatrix)
6161
_O = O.A

0 commit comments

Comments
 (0)