About the TDVP function

Hey all,

The tdvp function is a function to propagate in time my MPS object. Does this method can applied for an imaginary time approach ?

site=siteinds("Qubit",n)
psi= randomITensor(site)
dt=0.1 
psi= tdvp(H,psi,-dt)

Or this method must be used only in real time ?

Yes it works for imaginary time also

Hey, miles
Thank you for your answer.

So, I want to ask a follow-up question about this function. Is it possible to create a thermal state using that method ? that mean, if dt is the same and I am just changing the number of the steps I am taking.

site=siteinds("Qubit",n)
psi= randomITensor(site)
dt=0.1 
num=t/dt
for j=1:num
  psi= tdvp(H,psi,-dt)
normalize!(psi)
end

I know from reading that this method is usually good for getting the ground state in the limit where n dt \rightarrow \infty, but I am asking if in ITensor this thing can go around, and get your thermal state for ndt =t

Thanks for the help