SyTen

◆ entropy()

SRDef syten::entropy ( Tensor< 2 >  densityMatrix)

Calculates the entropy of a density matrix.

Parameters
densityMatrixDensity matrix, Tensor<2>
Returns
Entropy of density matrix

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: