Collaboration diagram for Partial traces:
![]() |
Functions | |
Operator & | PTrace (const State &psi, Operator &rho, bool flagTraceOverMSB=false) |
Does a simple partial trace of ![]() ![]() | |
DenseMatrix< complex > | partial_trace (const DenseMatrix< complex > &m, const TensorProductStructure &TPS, ISet &indices) |
Creates and returns a new matrix which is the partial trace of m , over the indices indices in the tensor product structure TPS . | |
DenseMatrix< complex > | partial_trace (const DenseVector< complex > &v, const TensorProductStructure &TPS, ISet &indices) |
Creates and returns a new matrix which is the partial trace of the projector onto v , over the indices indices in the tensor product structure TPS . | |
DenseMatrix< complex > | partial_trace_asymm (const DenseVector< complex > &ket, const DenseVector< complex > &bra, const TensorProductStructure &TPS, ISet &indices) |
Creates and returns a new matrix which is the partial trace of the (non-Hermitian) outer product |ket><bra| , over the indices indices in the tensor product structure TPS . | |
State & | Purify (const Operator &rho, State &psi) |
|
Does a simple partial trace of
|
|
Eigenvalues of |