dmrgpy
dmrgpy copied to clipboard
OTOC
Dear Jose,
I am trying to use your algorithm to calculate otoc, mainly using instruction ”imaginary_exponential“. But I found that my computational efficiency is far lower than the efficiency of quench evolution. For example, if I want to calculate<G | A (t) BA (t) B | G>, then I need to calculate U (- t) AU (t) B | G>, which has a significantly higher algorithm complexity than calculating U (t) B | G>in my code. May I ask if there is room for improvement in speed? This is my code: ts = np.linspace(0.0,tot,tn) wf = fc.get_gs() wf=(fc.Nup[0]-fc.Ndn[0])*wf wft= imaginary_exponential(h,wf,ts=ts) wftt=[(fc.Nup[5]-fc.Ndn[5])wfti for wfti in wft] wfttt=[imaginary_exponential(-h,wftt[i],ts=[toti/(tn-1)])[0] for i in range(tn)]
Thank you.