Quantum++
v0.7
C++11 quantum computing library
|
Measurement functions. More...
Go to the source code of this file.
Namespaces | |
qpp | |
Quantum++ main namespace. | |
Functions | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const std::vector< cmat > &Ks) |
Measures the state A using the set of Kraus operators Ks. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const std::initializer_list< cmat > &Ks) |
Measures the state A using the set of Kraus operators Ks. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const cmat &U) |
Measures the state A in the orthonormal basis specified by the unitary matrix U. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const std::vector< cmat > &Ks, const std::vector< idx > &subsys, const std::vector< idx > &dims) |
Measures the part subsys of the multi-partite state vector or density matrix A using the set of Kraus operators Ks. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const std::initializer_list< cmat > &Ks, const std::vector< idx > &subsys, const std::vector< idx > &dims) |
Measures the part subsys of the multi-partite state vector or density matrix A using the set of Kraus operators Ks. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const std::vector< cmat > &Ks, const std::vector< idx > &subsys, const idx d=2) |
Measures the part subsys of the multi-partite state vector or density matrix A using the set of Kraus operators Ks. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const std::initializer_list< cmat > &Ks, const std::vector< idx > &subsys, const idx d=2) |
Measures the part subsys of the multi-partite state vector or density matrix A using the set of Kraus operators Ks. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const cmat &U, const std::vector< idx > &subsys, const std::vector< idx > &dims) |
Measures the part subsys of the multi-partite state vector or density matrix A in the orthonormal basis specified by the unitary matrix U. More... | |
template<typename Derived > | |
std::tuple< idx, std::vector< double >, std::vector< cmat > > | qpp::measure (const Eigen::MatrixBase< Derived > &A, const cmat &U, const std::vector< idx > &subsys, const idx d=2) |
Measures the part subsys of the multi-partite state vector or density matrix A\ in the orthonormal basis specified by the unitary matrix U. More... | |
template<typename Derived > | |
std::tuple< std::vector< idx >, double, cmat > | qpp::measure_seq (const Eigen::MatrixBase< Derived > &A, std::vector< idx > subsys, std::vector< idx > dims) |
Sequentially measures the part subsys of the multi-partite state vector or density matrix A in the computational basis. More... | |
template<typename Derived > | |
std::tuple< std::vector< idx >, double, cmat > | qpp::measure_seq (const Eigen::MatrixBase< Derived > &A, std::vector< idx > subsys, idx d=2) |
Sequentially measures the part subsys of the multi-partite state vector or density matrix A in the computational basis. More... | |
Measurement functions.