[latest]

The following changes are in the github repository, but not yet released. The contents are auto-generated from multiple files.

  • Add tenpy.networks.mpo.MPO.from_Wflat().

  • Improved tenpy.algorithms.exact_diag.get_numpy_Hamiltonian() by setting the cutoff for exponentially decaying terms to 0 (increasing accuracy)

  • Fixed an error where TDVP did not correctly handle explicit_plus_hc. Before, the flag was considered in the two-site update, but ignored in the one-site update for TwoSiteTDVP. For SingleSiteTDVP, it was considered in the one-site update, but ignored in the zero-site update. Using a model with explicit_plus_hc in TDVP thus led to an incorrect computation. However, in the test cases we used, this led to a barrage of loud warnings from the Lanczos evolution, and thus was not silent.