Function sequant::mbpt::to_op_class

Function Documentation

OpClass sequant::mbpt::to_op_class(const std::wstring &op)

converts an operator label to its OpClass using the default MBPT context

Note

returns OpClass::gen for reserved operator labels

Parameters:

op – the operator label

Returns:

the OpClass of the operator