central_charge_from_S_profile¶
full name: tenpy.tools.fit.central_charge_from_S_profile
parent module:
tenpy.tools.fittype: function
-
tenpy.tools.fit.central_charge_from_S_profile(psi, exclude=None)[source]¶ Fit the entanglement entropy of a finite MPS to the expected profile for critical models.
See
entropy_profile_from_CFT()for the function we fit to.- Parameters
- Returns
central_charge, const (float) – Central charge and constant offset as in
entropy_profile_from_CFT().res (float) – Residuum of the error.