--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I can not reproduce the error with the latest dev version. Here is my simplified version:
from qutip import *
a = tensor(destroy(2), qeye(2))
b = tensor(qeye(2), destroy(2))
H = a.dag()*a + b.dag()*b
c_ops = []
c_ops.append(0.1*a)
rho0 = tensor(fock(2, 1), fock(2, 0))
opts = Options()
opts.store_final_state = True
solution = mesolve(H, rho0, [0,1], c_ops, [a.dag()*a], options = opts)
expt = solution.expect[0]
Final = solution.final_state
rho_SP = Final.ptrace(0)
March 14, 2017 at 21:11
I forgot the system info:QuTiP version: 4.1.0.dev0System info: 3.6.0 |Anaconda 4.3.0 (64-bit)| (default, Dec 23 2016, 12:22:00)[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on cu11Best regards, Pu Zhang
--Faculty at School of Physics, Huazhong University of Science and TechnologyRoom 819 (N.), Yifu Science and Technology Building1037 Luoyu Road, Wuhan, ChinaE-mail: puzha...@hust.edu.cnHomepage: www.researchgate.net/profile/Pu_Zhang4Phone: +86 18871860394
--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
March 14, 2017 at 21:09
--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
March 14, 2017 at 08:37
The latest official release 4.1 is exactly the same as the dev version, so this would seem pretty strange.Could you post the actual line of line of code that causes the error
--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
March 14, 2017 at 07:32
It seems to be a bug in the Dev. version. The error does not occur in the official release.Best regards, Pu Zhang
--Faculty at School of Physics, Huazhong University of Science and TechnologyRoom 819 (N.), Yifu Science and Technology Building1037 Luoyu Road, Wuhan, ChinaE-mail: puzha...@hust.edu.cnHomepage: www.researchgate.net/profile/Pu_Zhang4Phone: +86 18871860394
--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
March 14, 2017 at 06:57
--Hi, all!I generate a density matrix and would like to get the partial trace. In older versions it works, but with the dev. version it gives this error. How can I fix this? Thanks!Best regards, Pu Zhang
--Faculty at School of Physics, Huazhong University of Science and TechnologyRoom 819 (N.), Yifu Science and Technology Building1037 Luoyu Road, Wuhan, ChinaE-mail: puzha...@hust.edu.cnHomepage: www.researchgate.net/profile/Pu_Zhang4Phone: +86 18871860394
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
The conversion to fast_csr for the last state is also explicitly there:
if opt.store_final_state:
rho.data = dense2D_to_fastcsr_fmode(vec2mat(r.y), rho.shape[0], rho.shape[1])
output.final_state = Qobj(rho, dims=rho0.dims, isherm=True)
March 14, 2017 at 22:00