Hi,
I was wondering if it would be possible to get some information out about the MPS that is obtained in each sweep of DMRG. Specifically, I would like to print out the variance of the energy in the supposed ground state for each DMRG sweep to see how good the approximation is.
On the other hand, is it possible to suppress the natural results that a DMRG routine prints out as shown below?
After sweep 1 energy=-350.877237923946 maxlinkdim=10 maxerr=1.22E-02 time=2.687
After sweep 2 energy=-351.335659342829 maxlinkdim=20 maxerr=1.68E-06 time=2.759
After sweep 3 energy=-351.419459673139 maxlinkdim=50 maxerr=2.49E-09 time=11.168
After sweep 4 energy=-351.440265798309 maxlinkdim=81 maxerr=1.00E-10 time=25.016
After sweep 5 energy=-351.451576318809 maxlinkdim=103 maxerr=9.99E-11 time=27.875
After sweep 6 energy=-351.458798958939 maxlinkdim=118 maxerr=9.99E-11 time=29.819
After sweep 7 energy=-351.463802923464 maxlinkdim=110 maxerr=1.00E-10 time=35.929
After sweep 8 energy=-351.467183778837 maxlinkdim=113 maxerr=9.99E-11 time=40.620
After sweep 9 energy=-351.469479929706 maxlinkdim=138 maxerr=1.00E-10 time=49.070
After sweep 10 energy=-351.470973171373 maxlinkdim=133 maxerr=1.00E-10 time=56.519
Best,
Arnab