Hi everyone,
I was looking at the example of the Observer system to evaluate operators and other information during TDVP run time. I just had a confusion regarding the example cited in ITensorMPS.jl/examples/04_tdvp_observers.jl at main · ITensor/ITensorMPS.jl · GitHub .
What information does return_state(; state) = state
actually retain? Does it return the full MPS at every step?
Lastly, if I were to save the obs object as a CSV or JLD2 file, would it save the full MPS or just the index structure?
state
is the full MPS state. If you save it as a JLD2 file, it will save the entire MPS, including the tensor data. I’m not sure about CSV, that seems like a strange format to save something complicated like an MPS (I think CSV is primarily a table format).
1 Like