Tomographer
v5.4
Tomographer C++ Framework Documentation
|
Calculate expectation value of an observable for each sample. More...
#include <tomographer/densedm/tspacefigofmerit.h>
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. More... | |
ObservableValueCalculator (DMTypes dmt, VectorParamTypeConstRef A_x) | |
Constructor directly accepting the X parameterization of A. More... | |
ValueType | getValue (MatrixTypeConstRef T) const |
Calculate the expectation value of the observable for the state represented by T. | |
ObservableValueCalculator () | |
Construct an invalid object – ONLY for use with Boost.serialization. | |
Calculate expectation value of an observable for each sample.
Definition at line 210 of file tspacefigofmerit.h.
|
inline |
Constructor directly accepting A as a hermitian matrix.
Definition at line 234 of file tspacefigofmerit.h.
|
inline |
Constructor directly accepting the X parameterization of A.
Definition at line 241 of file tspacefigofmerit.h.