void syten::MPS::ParseOperator::siteF | ( | std::stack< StackElement > & | s, |
Lattice const & | lat, | ||
Index const | position, | ||
bool const | |||
) |
Create a single-site operator from the two topmost elements: a_str b_num _s → opr(a_b)
References syten::RepRegister::id(), std::stack< T >::pop(), std::stack< T >::size(), std::to_string(), std::stack< T >::top(), and syten::MPS::ParseOperator::StackElement::type.
Referenced by getFunction().