CQCL / tket

Source code for the TKET quantum compiler, Python bindings and utilities
https://docs.quantinuum.com/tket/
Apache License 2.0
257 stars 48 forks source link

Remove gate-set predicates from `DecomposeSwapsToCXs` #1599

Closed cqc-alec closed 1 month ago

cqc-alec commented 1 month ago

Description

The fix in #1598 was incomplete: DecomposeSwapsToCXs needs to work with classical gates such a RangePredicate as well. I think the most robust fix is to remove the gate-set predicates from this pass altogether.

Related issues

Relates to #1597 .

Checklist