SyTen

◆ entropy()

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

Calculates the entropy of a density matrix.

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

References syten::closeThreshold(), syten::entropy(), syten::DenseEigensolver::DenseSymEigensolverBase< Type >::evalues, syten::kronaa(), std::log(), std::move(), syten::overThreshold(), and SYTEN_SMALL_THRESHOLD.

+ Here is the call graph for this function: