Closed burgholzer closed 3 months ago
Attention: Patch coverage is 99.37888%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 96.3%. Comparing base (
3a0f498
) to head (b4a306a
). Report is 1 commits behind head on main.
Description
This PR collects a couple of smaller scale improvements.
First, it introduces a new default optimization pass, that elides permutations (i.e., SWAPs) from circuits completely. This helps to reduce the size of the circuits and might even give rise to some further optimization potential due to the removed gates. The PR also reorganizes the sequence in which individual operations are run, which should further increase the potential for optimization.
Secondly, it slightly optimizes the default application strategies. Both, the proportional and the gate cost application scheme, now take into account whether the single qubit gate fusion optimization has been performed. Furthermore, the proportional (default) strategy now computes the gate ratio on the fly, which is expected to yield better result in general.
Thirdly, this PR updates the gate cost profiles for Qiskit. Due to a small bug in the test, any changes were no longer detected. This has been fixed and the gate profiles have been updated. This also includes support for 6 more (two-target) gates.
Lastly, the PR contains some fixes for new clang-tidy warnings.
Checklist: