mqt.qecc.equivalence_checking.invariants¶
Code normalization and the invariants shared by both equivalence notions.
Every decision procedure first normalizes its inputs with
_reduce_stabilizer_generators() and then tries to refute equivalence with the
cheap invariants below. Invariants that hold for only one equivalence notion live in
the module implementing that notion.