Hi Miles,
It is considerate of you to add a template in idmrg.h for "restarting idmrg calculations from a previous run". But I still cannot use it. Let me show you my code:
in my own idmrg.cc I wrote:
auto res = idmrg(psi, H, sweeps, { Args });
auto res2 = idmrg(psi, H, res, sweeps,{ Args});
The first idmrg runs well, but the second one cannot work—— it stops after printing sweeps and a line:
Sweep=1, HS=1, Bond=(1,2)
which comes from the first step of dmrg in this iDMRG, the exit without error messages.
Could you spot any error here?
Thank you in advance.
Zhiyu