SyTen

◆ parse() [1/2]

Operator syten::BTT::parse ( Lattice const &  lat,
std::string const &  desc 
)

Parse an operator description.

Parameters
latLattice on which the operators are defined
descdescription 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: