Tomographer
v4.1
Tomographer C++ Framework Documentation
|
Calculate the "purified distance" to a reference state for each sample. More...
#include <tomographer/densedm/tspacefigofmerit.h>
Public Types | |
typedef DMTypes_ | DMTypes |
typedef DMTypes::MatrixType | MatrixType |
typedef DMTypes::MatrixTypeConstRef | MatrixTypeConstRef |
typedef ValueType_ | ValueType |
For ValueCalculator interface : value type. | |
Public Member Functions | |
PurifDistToRefCalculator (MatrixTypeConstRef T_ref) | |
Constructor, the reference state is T_ref (in T Parameterization) | |
ValueType | getValue (MatrixTypeConstRef T) const |
Calculate the purified distance of the state represented by T to the reference state. | |
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)}\ . \]
Definition at line 97 of file tspacefigofmerit.h.