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
It seems one cannot construct an annealing object with time-dependent coupling to a bach in the same way as constant coupling. The following code block for example gives an error. It will be useful to have an example that desmonstrates using TimeDependentCoupling.
MethodError: Cannot `convert` an object of type TimeDependentCoupling to an object of type OpenQuantumBase.AbstractCouplings
Closest candidates are:
convert(::Type{T}, ::T) where T at essentials.jl:171
Stacktrace:
[1] Interaction(::TimeDependentCoupling, ::OhmicBath) at C:\Users\x35dai\.julia\packages\OpenQuantumBase\Pk0vX\src\coupling\interaction.jl:16
[2] Annealing(::DenseHamiltonian{Complex{Float64}}, ::Array{Complex{Float64},1}; coupling::TimeDependentCoupling, bath::OhmicBath, interactions::Nothing, annealing_parameter::Function) at C:\Users\x35dai\.julia\packages\OpenQuantumBase\Pk0vX\src\annealing\annealing_type.jl:33
[3] top-level scope at In[11]:8
The text was updated successfully, but these errors were encountered:
You are right, the documentation on this part is a little bit unclear. Currently, there are two objects TimeDepedentCoupling and TimeDependentCouplings. You will need to define each time-dependent coupling operator first and combine them into a TimeDepependentCouplings object.
It seems one cannot construct an annealing object with time-dependent coupling to a bach in the same way as constant coupling. The following code block for example gives an error. It will be useful to have an example that desmonstrates using
TimeDependentCoupling
.The text was updated successfully, but these errors were encountered: