I want to compute the time-evolution of the matrix :U = exp(-iHt) for a given time Then I want to multiply this matrix U by the matrix X in order to obtain the evolution of this matrix.
I have found the following library in python for evolution vector v:
scipy.sparse.linalg.expm_multiply
exact = scipy.integrate.ode(-(1j)*T*Hint,rho0)
print (exact)
This code is for time evolution of a vector . How to evaluat the density matrix using this code? I know mesolve command in qutip package but I have another solution for calculate time evolution of the matrix X
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…