CQCL / tket

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

Remove gate-set predicates from `DecomposeSwapsToCXs` #1599

Closed cqc-alec closed 16 hours ago

cqc-alec commented 18 hours 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