Tomographer  v1.0a
Tomographer C++ Framework Documentation
Tomographer::ObservableValueCalculator< TomoProblem_ > Class Template Reference

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

#include <tomographer/dmmhrw.h>

Public Types

typedef TomoProblem_ TomoProblem
 
typedef TomoProblem::MatrQ MatrQ
 
typedef MatrQ::MatrixType MatrixType
 
typedef MatrQ::VectorParamType VectorParamType
 
typedef MatrQ::RealScalar ValueType
 For ValueCalculator interface : value type.
 

Public Member Functions

 ObservableValueCalculator (const TomoProblem &tomo, const MatrixType &A)
 Constructor directly accepting A as a hermitian matrix.
 
 ObservableValueCalculator (const TomoProblem &tomo, const VectorParamType &A_x)
 Constructor directly accepting the X parameterization of A.
 
ValueType getValue (const MatrixType &T) const
 

Detailed Description

template<typename TomoProblem_>
class Tomographer::ObservableValueCalculator< TomoProblem_ >

Calculate expectation value of an observable for each sample.

Definition at line 340 of file dmmhrw.h.


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