Function sequant::result_symmetrization(const ResultExpr&, std::wstring_view)¶
Defined in File expr.cpp
Function Documentation¶
-
ExprPtr sequant::result_symmetrization(const ResultExpr &result, std::wstring_view precursor_name)¶
Generates the expression that symmetrizes the given result over all cyclic permutations of its bra-ket index pairs, based on the tensor named
precursor_name(with the same symmetries asresult). Auxiliary indices are not symmetrized.- Parameters:
result – The result to symmetrize
precursor_name – The name of the not yet symmetrized tensor