Tomographer
v1.0a
Tomographer C++ Framework Documentation
|
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 |
Calculate expectation value of an observable for each sample.