-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Sabre for control flow circuits at O1 (#10371)
* Enable Sabre for control flow circuits in O1. * Add release note. * Update preset pass manager tests.
- Loading branch information
1 parent
a804df5
commit 026d60a
Showing
3 changed files
with
24 additions
and
46 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
11 changes: 11 additions & 0 deletions
11
releasenotes/notes/sabre-ctrl-flow-o1-431cd25a19adbcdc.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,11 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The Sabre family of transpiler passes (namely :class:`.SabreLayout` | ||
and :class:`.SabreSwap`) are now used by default for all circuits | ||
when invoking the transpiler at optimization level 1 (e.g. calling | ||
:func:`.transpile` or :func:`.generate_preset_pass_manager` with | ||
keyword argument ``optimization_level=1``). Previously, circuits | ||
with control flow operations used :class:`.DenseLayout` and | ||
:class:`.StochasticSwap` with this profile. | ||
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