You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
This PR introduces a new optimization that allows to elide permutations
from circuits.
Essentially, it starts with the initial layout, applies it to every gate
of the circuit.
Upon encountering a `SWAP` gate, the tracked permutation is updated and
the gate eliminated.
Finally, the output permutation of the circuit is updated.
The PR also includes some fixes for newer clang-tidy warnings as well as
a small printing fix for quantum circuits.
## Checklist:
<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->
- [x] The pull request only contains commits that are related to it.
- [x] I have added appropriate tests and documentation.
- [x] I have made sure that all CI jobs on GitHub pass.
- [x] The pull request introduces no new warnings and follows the
project's style guidelines.
---------
Signed-off-by: burgholzer <burgholzer@me.com>
0 commit comments