Is there a way to save checkpoints for Julia's TD-DMRG?

Hello!

I’m using the TDVP method for DMRG in ITensorMPS. The systems I’m working on are fairly expensive and I have no way to create checkpoint files in case I run out of time. Is there a built in function in ITensor Julia that allows for a checkpoint file to be created, or any advice about how to implement this?

Thank you!

Would it be sufficient to save the state periodically during the evolution? If so you can use the observer system (which is basically a callback system) for that: ITensorMPS.jl/examples/solvers/04_tdvp_observers.jl at v0.3.25 · ITensor/ITensorMPS.jl · GitHub.