Error at example code c_tebd.py
Posted: 17 May 2020, 15:49
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.
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.