Tomographer  v5.4
Tomographer C++ Framework Documentation
Tomographer::DenseDM::TSpace::FidelityToRefCalculator< DMTypes_, ValueType_ > Class Template Reference

Calculate the fidelity to a reference state for each sample. More...

#include <tomographer/densedm/tspacefigofmerit.h>

+ Inheritance diagram for Tomographer::DenseDM::TSpace::FidelityToRefCalculator< DMTypes_, ValueType_ >:
+ Collaboration diagram for Tomographer::DenseDM::TSpace::FidelityToRefCalculator< DMTypes_, ValueType_ >:

Public Types

typedef DMTypes_ DMTypes
 
typedef DMTypes::MatrixType MatrixType
 
typedef DMTypes::MatrixTypeConstRef MatrixTypeConstRef
 
typedef ValueType_ ValueType
 For ValueCalculator interface : value type.
 

Public Member Functions

 FidelityToRefCalculator (MatrixTypeConstRef T_ref)
 Constructor, the reference state is T_ref (in T Parameterization)
 
ValueType getValue (MatrixTypeConstRef T) const
 Calculate the fidelity of the state represented by T to the reference state.
 
 FidelityToRefCalculator ()
 Construct an invalid object – ONLY for use with Boost.serialization.
 

Detailed Description

template<typename DMTypes_, typename ValueType_ = double>
class Tomographer::DenseDM::TSpace::FidelityToRefCalculator< DMTypes_, ValueType_ >

Calculate the fidelity to a reference state for each sample.

This calculates the "root" fidelity as per Nielsen & Chuang.

See also
fidelityT(rho,sigma)
Since
Since Tomographer 5.3, this class can be serialized with Boost.Serialization.

Definition at line 62 of file tspacefigofmerit.h.


The documentation for this class was generated from the following file: