Hello,
Related to my previous question, my code is in this way:
import time
from pylab import*
import numpy as np
from qutip import *
from math import sqrt
import matplotlib.pyplot as plt
times= np.linspace(0,0.168,200)
I=tensor(qeye(2),qeye(2),qeye(2))
psi1=(fock(2,0)-fock(2,1)).unit()
psii=tensor(psi1,psi1,psi1)
sz1=tensor(sigmaz(),qeye(2),qeye(2))
sz2=tensor(qeye(2),sigmaz(),qeye(2))
sz3=tensor(qeye(2),qeye(2),sigmaz())
sx1=tensor(sigmax(),qeye(2),qeye(2))
sx2=tensor(qeye(2),sigmax(),qeye(2))
sx3=tensor(qeye(2),qeye(2),sigmax())
H0=30*(sx1+sx2+sx3)
H1=-210*I+84*sz1+88*sz2+44*sz3-20*sz1*sz2-10*sz1*sz3+20*sz2*sz3-16*sz1*sz2*sz3-30*(sx1+sx2+sx3)
def H1_coeff(t,args):return -(times/0.168)**2
H=[H0, [H1,H1_coeff]]
result=mesolve(H,psii,times,[],[H])
but in the last line, I receive AttributeError: 'list' object has no attribute 'isherm' !!!
I do not know what is my problem and what should I do.
Can you please help me?
Regards
Mehrosadat