Function sequant::mbpt::detail::descending_rank_pairs¶
Defined in File op.hpp
Function Documentation¶
-
inline container::svector<std::pair<std::int64_t, std::int64_t>> sequant::mbpt::detail::descending_rank_pairs(std::int64_t n1, std::int64_t n2)¶
the rank pairs of a sum of operators truncated at ranks (
n1,n2), highest first- Returns:
(n1, n2), (n1-1, n2-1), ..., stopping before(0, 0)and after the first pair with a zero entry