SyTen

◆ expectation() [4/5]

SDef syten::MPS::expectation ( State const &  a,
Operator const &  op 
)

Returns the expectation value of an MPS::Operator \(\hat O\) w.r.t. a MPS::State \(|a\rangle\), i.e. \(\langle a |\hat O|a \rangle\).

References expectation().

+ Here is the call graph for this function: