Quantum++  v1.0.0-beta3
C++11 quantum computing library
entropies.h File Reference

Entropy functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 qpp
 Quantum++ main namespace.
 

Functions

template<typename Derived >
double qpp::entropy (const Eigen::MatrixBase< Derived > &A)
 von-Neumann entropy of the density matrix A More...
 
double qpp::entropy (const std::vector< double > &prob)
 Shannon entropy of the probability distribution prob. More...
 
template<typename Derived >
double qpp::renyi (const Eigen::MatrixBase< Derived > &A, double alpha)
 Renyi- $\alpha$ entropy of the density matrix A, for $\alpha\geq 0$. More...
 
double qpp::renyi (const std::vector< double > &prob, double alpha)
 Renyi- $\alpha$ entropy of the probability distribution prob, for $\alpha\geq 0$. More...
 
template<typename Derived >
double qpp::tsallis (const Eigen::MatrixBase< Derived > &A, double q)
 Tsallis- $q$ entropy of the density matrix A, for $q\geq 0$. More...
 
double qpp::tsallis (const std::vector< double > &prob, double q)
 Tsallis- $q$ entropy of the probability distribution prob, for $q\geq 0$. More...
 
template<typename Derived >
double qpp::qmutualinfo (const Eigen::MatrixBase< Derived > &A, const std::vector< idx > &subsysA, const std::vector< idx > &subsysB, const std::vector< idx > &dims)
 Quantum mutual information between 2 subsystems of a composite system. More...
 
template<typename Derived >
double qpp::qmutualinfo (const Eigen::MatrixBase< Derived > &A, const std::vector< idx > &subsysA, const std::vector< idx > &subsysB, idx d=2)
 Quantum mutual information between 2 subsystems of a composite system. More...
 

Detailed Description

Entropy functions.