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

Calculate expectation value of an observable for each sample. More...

#include <tomographer/densedm/tspacefigofmerit.h>

+ Inheritance diagram for Tomographer::DenseDM::TSpace::ObservableValueCalculator< DMTypes_ >:
+ Collaboration diagram for Tomographer::DenseDM::TSpace::ObservableValueCalculator< DMTypes_ >:

Public Types

typedef DMTypes_ DMTypes
 
typedef DMTypes::MatrixType MatrixType
 
typedef DMTypes::MatrixTypeConstRef MatrixTypeConstRef
 
typedef DMTypes::VectorParamType VectorParamType
 
typedef DMTypes::VectorParamTypeConstRef VectorParamTypeConstRef
 
typedef DMTypes::RealScalar ValueType
 For ValueCalculator interface : value type.
 

Public Member Functions

 ObservableValueCalculator (DMTypes dmt, MatrixTypeConstRef A)
 Constructor directly accepting A as a hermitian matrix.
 
 ObservableValueCalculator (DMTypes dmt, VectorParamTypeConstRef A_x)
 Constructor directly accepting the X parameterization of A.
 
ValueType getValue (MatrixTypeConstRef T) const
 Calculate the expectation value of the observable for the state represented by T.
 

Detailed Description

template<typename DMTypes_>
class Tomographer::DenseDM::TSpace::ObservableValueCalculator< DMTypes_ >

Calculate expectation value of an observable for each sample.

Definition at line 167 of file tspacefigofmerit.h.


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