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(), syten::DenseEigensolver::DenseSymEigensolverBase< Type >::evalues, kronaa(), std::log(), std::move(), overThreshold(), and SYTEN_SMALL_THRESHOLD.

Referenced by allSiteEntropy(), syten::MPS::block_entropies(), entropyOneSite(), and entropyTwoSite().

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