Operator Grouping

Please refer to Grouping Operator Terms for a detailed explanation of this module’s functionality.

Library

Rather than always relying on the user to provide the group indices themselves, this module provides a collection of functions which determine the grouping information automatically.

group_terms_by_electronic_structure(op, ...)

Groups the terms of an operator by their electronic structure.