Function sequant::mbpt::op_hermiticity

Function Documentation

Hermiticity sequant::mbpt::op_hermiticity(const std::wstring &op)

returns the Hermiticity of an operator label using the default MBPT context

Note

returns Hermiticity::Hermitian for reserved operator labels (they are OpClass::gen)

Parameters:

op – the operator label

Returns:

the operator’s Hermiticity (the registry’s per-operator value, or default_hermiticity(to_op_class(op)))