Tomographer
v1.0a
Tomographer C++ Framework Documentation
|
Calculate the "purified distance" to a reference state for each sample. More...
#include <tomographer/dmmhrw.h>
Public Types | |
typedef TomoProblem_ | TomoProblem |
typedef TomoProblem::MatrQ | MatrQ |
typedef MatrQ::MatrixType | MatrixType |
typedef ValueType_ | ValueType |
For ValueCalculator interface : value type. | |
Public Member Functions | |
PurifDistToRefCalculator (const TomoProblem &tomo) | |
Constructor, take the reference state to be the MLE. | |
PurifDistToRefCalculator (const TomoProblem &tomo, const MatrixType &T_ref) | |
Constructor, the reference state is T_ref (in T Parameterization) | |
ValueType | getValue (const MatrixType &T) const |
Calculate the "purified distance" to a reference state for each sample.
The purified distance \( P(\rho,\sigma) \) for two normalized states is defined as
\[ P\left(\rho,\sigma\right) = \sqrt{1 - F^2\left(\rho,\sigma\right)}\ . \]