-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an edge case in Sabre's release valve (#13114)
* Fix edge case in Sabre release valve If a Sabre trial does not find a set of Swaps to route nodes, the "release valve" adds Swaps to route the two-qubit gate in between the the closest two qubits. In rare cases, this leads to _more_ than one gate being routable, which was not handled correctly previously. Co-authored-by: Jake Lishman <[email protected]> * add reno and test * Use sensible syntax Co-authored-by: Kevin Hartman <[email protected]> * Use sensible grammar Co-authored-by: Kevin Hartman <[email protected]> * clippy * Check if the new test breaks CI * Revert "Check if the new test breaks CI" This reverts commit 01bcdc7. --------- Co-authored-by: Jake Lishman <[email protected]> Co-authored-by: Kevin Hartman <[email protected]>
- Loading branch information
1 parent
dd145b5
commit f2ca920
Showing
4 changed files
with
63 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/fix-sabre-releasevalve-7f9af9bfc0482e04.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed an edge case in :class:`.SabreLayout`, where in rare cases on large | ||
devices and challenging circuits, the routing would fail. This was due to the | ||
release valve making more than one two-qubit gate routable, where only one was expected. | ||
Fixed `#13081 <https://github.com/Qiskit/qiskit/issues/13081>`__. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters