Function sequant::pop_symmetrizer(ExprPtr&)¶
Defined in File expr.cpp
Function Documentation¶
-
std::optional<ExprPtr> sequant::pop_symmetrizer(ExprPtr &expression)¶
Removes the (anti)symmetrization operator, i.e. the tensor labeled reserved::symm_label() or, if there is none, the one labeled reserved::antisymm_label(), from the given expression (see pop_tensor)
- Parameters:
expression – The expression to modify
- Returns:
The removed operator, if any