|
void | syten::BTT::addScaled (State &a, State const &b, SDef s) |
| Adds b , scaled by s , to a . More...
|
|
SRDef | syten::BTT::apply_op_itrunc (State &a, Operator const &op, Truncation const &trunc) |
| Applies the operator op in-place to the state a . More...
|
|
void | syten::BTT::apply_op_naive (State &a, Operator const &op) |
| Applies the operator naively without truncation. More...
|
|
void | syten::BTT::apply_operator_directly (State &a, Operator const &op) |
| Directly applies the operator op to the state a by contracting the physical indices and merging the auxiliary ones, without truncation. More...
|
|
void | syten::BTT::apply_operator_directly_rec (State::Ptr aptr, const Operator::Ptr optr, bool const cache) |
| Recursive helper for direct operator application. More...
|
|
SRDef | syten::BTT::apply_operator_itrunc_node (State::Ptr aptr, const Operator::Ptr optr, Index direction, bool const cache, Truncation trunc) |
| Helper for apply_operator_itrunc_rec(). More...
|
|
SRDef | syten::BTT::apply_operator_itrunc_rec (State &a, State::Ptr aptr, const Operator::Ptr optr, Index direction, bool const cache, Truncation const &trunc) |
| Recursive helper for apply_op_itrunc(). More...
|
|
SDef | syten::BTT::expectation (State const &a, Operator const &op, State const &b) |
| Returns the expectation value of an operator between two states as \( \langle b | \left( \hat O | a \rangle \right) \). More...
|
|
SDef | syten::BTT::expectation (State const &a, Operator const &op) |
| Returns the expectation value of an operator wrt a state. More...
|
|
Tensor< 3 > | syten::BTT::expectation_rec (const State::Ptr aptr, const Operator::Ptr optr, const State::Ptr bptr, bool const cache) |
| Returns the partial contraction of tensors below (and including) the supplied pointers. More...
|
|
SRDef | syten::BTT::norm (State const &a) |
| Returns the norm \( \sqrt{\langle a | a \rangle}\) of a state. More...
|
|
SRDef | syten::BTT::normSqd (State const &a) |
| Returns the squared norm \( \langle a | a \rangle\) of a state. More...
|
|
State & | syten::BTT::operator*= (State &s, SDef const c) |
| Multiplies s by the scalar c More...
|
|
State & | syten::BTT::operator*= (State &a, Operator const &op) |
| Applies the operator to the state, exact implementation subject to change. More...
|
|
State | syten::BTT::operator+ (State const &a, State const &b) |
| Sum of two BTTS, \( |r\rangle = |b\rangle + |a\rangle \). More...
|
|
std::ostream & | syten::BTT::operator<< (std::ostream &out, BTT::State const &s) |
| Output a BTT state. More...
|
|
SDef | syten::BTT::overlap (State const &b, State const &a) |
| Returns the overlap \( \langle a | b \rangle \) between two states. More...
|
|
Tensor< 2 > | syten::BTT::overlap_rec (const State::Ptr a, const State::Ptr b, bool cache) |
| Returns the partial contraction of tensors below (and including) pointers a and b. More...
|
|
A binary tree tensor network state.