Operator Terms¶
The C API provides various functions to operate on the individual terms of an operator, partitioning them based on their structure.
Grouping¶
Please refer to Group operator terms: exploit the operator structure for a detailed explanation of this module’s functionality.
Members¶
Rather than always relying on the user to provide the group indices themselves, the C API provides a collection of functions which determine the grouping information automatically.
Groups the terms of an operator by their electronic structure. |
Filtering¶
The C API provides a collection of functions for removing terms from an operator that do not contribute meaningfully to a downstream computation.
Members¶
Filters out the terms of an operator that are diagonal. |
Ordering¶
The C API provides functions to reorder the terms of an operator into a canonical, coefficient-independent order.
Members¶
Reorders the terms of a fermionic operator canonically. |
|
Reorders the terms of a Majorana operator canonically. |