Quantum++
v0.8.2
C++11 quantum computing library
|
Entropy functions. More...
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- ![]() ![]() | |
double | qpp::renyi (const std::vector< double > &prob, double alpha) |
Renyi- ![]() ![]() | |
template<typename Derived > | |
double | qpp::tsallis (const Eigen::MatrixBase< Derived > &A, double q) |
Tsallis- ![]() ![]() | |
double | qpp::tsallis (const std::vector< double > &prob, double q) |
Tsallis- ![]() ![]() | |
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... | |
Entropy functions.