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

Calculate the trace distance to a reference state for each sample. More...

#include <tomographer/densedm/tspacefigofmerit.h>

+ Inheritance diagram for Tomographer::DenseDM::TSpace::TrDistToRefCalculator< DMTypes_, ValueType_ >:
+ Collaboration diagram for Tomographer::DenseDM::TSpace::TrDistToRefCalculator< 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

 TrDistToRefCalculator (MatrixTypeConstRef rho_ref)
 Constructor, the reference state is rho_ref.
 
ValueType getValue (MatrixTypeConstRef T) const
 Calculate the trace distance of the state represented by T to the reference state.
 

Detailed Description

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

Calculate the trace distance to a reference state for each sample.

Definition at line 133 of file tspacefigofmerit.h.


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