Operator syten::BTT::parse | ( | Lattice const & | lat, |
std::string const & | desc | ||
) |
Parse an operator description.
lat | Lattice on which the operators are defined |
desc | description of the operator, e.g. s 1 @ s 2 @ ยท Hpbc + |
References std::stack< T >::emplace(), std::string::empty(), std::stringstream::fail(), syten::BTT::ParseOperator::getFunction(), std::stack< T >::size(), std::to_string(), std::stack< T >::top(), and syten::BTT::ParseOperator::StackElement::type.
Referenced by syten::btt_operator_fbasis(), syten::calc_expval(), syten::do_apply_op(), and parse().