Class antisymm_element

Class Documentation

class antisymm_element

generates all unique permutations of a product where products differing only by internal tensor antisymmetry are non-unique. i.e. \( a^{i_1 i_2}_{a_1 a_2} = - a^{i_2 i_1}_{a_1 a_2} \). RHS is non-unique in this context.

Public Functions

inline antisymm_element(ExprPtr ex_)

Public Members

std::vector<Index> sorted_bra_indices
std::vector<Index> sorted_ket_indices
ExprPtr result