Template Function sequant::get_unique_indices(const Tensor&)

Function Documentation

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

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