At the function example_TEBD_gs_tf_ising_infinite, the energy per site is calculated as
E = np.sum(M.bond_energies(psi))
I think you missed 1/2 here.
It can be clearly seen at the final results on the relative error.
Error at example code c_tebd.py
Re: Error at example code c_tebd.py
Thanks for pointing it out, I've updated it on the master branch.
Unfortunately, it didn't make it into the release of v0.6.0 any more, which I packed last Friday
Unfortunately, it didn't make it into the release of v0.6.0 any more, which I packed last Friday