qdk_chemistry.algorithms.term_grouper.identity module
Identity term grouper: each Pauli term is its own group.
- class qdk_chemistry.algorithms.term_grouper.identity.IdentityTermGrouper[source]
Bases:
TermGrouperTrivial grouper — every term is placed in its own single-element group.
Useful to clear an existing
term_partitionwhile still passing through the standardterm_grouperinterface, or to disable downstream group-aware optimisation in a controlled way.