Template Function sequant::get_unique_indices(const ExprPtr&)

Function Documentation

template<typename Container = std::vector<Index>>
IndexGroups<Container> sequant::get_unique_indices(const ExprPtr &expr)

Obtains the set of unique (non-repeated) indices used in the given expression