Calculates the entropy of a density matrix.
densityMatrix | Density matrix, Tensor<2> |
References closeThreshold(), entropy(), syten::DenseEigensolver::DenseSymEigensolverBase< Type >::evalues, kronaa(), std::log(), std::move(), overThreshold(), and SYTEN_SMALL_THRESHOLD.
Referenced by allSiteEntropy(), syten::mutualInfo::allSiteEntropy(), syten::MPS::block_entropies(), entropy(), syten::mutualInfo::entropy(), syten::mutualInfo::entropyOneSite(), entropyOneSite(), entropyTwoSite(), and syten::mutualInfo::entropyTwoSite().