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: TermGrouper

Trivial grouper — every term is placed in its own single-element group.

Useful to clear an existing term_partition while still passing through the standard term_grouper interface, or to disable downstream group-aware optimisation in a controlled way.

name()[source]

Return identity as the algorithm name.

Return type:

str