seemps.state.CanonicalMPS.entanglement_entropy# method CanonicalMPS.entanglement_entropy(site=None)[source]# Compute the entanglement entropy of the MPS for a bipartition around site. Parameters: siteint, optionalSite in the range [0, self.size), defaulting to self.center. The system is diveded into [0, self.site) and [self.site, self.size). Returns: floatVon Neumann entropy of bipartition.