qojulia / QuantumOptics.jl

Library for the numerical simulation of closed as well as open quantum systems.
http://qojulia.org
Other
518 stars 101 forks source link

Error when multiplying multiple TimeDependentOperators #398

Open mabuni1998 opened 3 weeks ago

mabuni1998 commented 3 weeks ago

When multiplying multiple TimeDependentOperators I can only combine a dagger version with a non-dagger version. See the following:

kappa(t) = 1    
b = FockBasis(3)
a = destroy(b)
a_td = TimeDependentSum(kappa=>a)
dagger(a_td)*a_td #Works
a_td*a_td #Does not work
dagger(a_td)*dagger(a_td) #Does not work
dagger(a_td)*a_td*a_td #Does Work
dagger(a_td)*dagger(a_td)*a_td*a_td #Does not work