m_entropy

tenpy.simulations.measurement.m_entropy(results, psi, model, simulation, results_key='entropy')[source]

Measure the entropy at all bonds of an MPS.

Parameters:
  • results – See measurement_index().

  • psi – See measurement_index().

  • simulation – See measurement_index().

  • results_key – See measurement_index().