-
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.
Keep resets at beginning of circuits (#10591)
* Keep resets at beginning of circuits * Add reno and black * Revert "Add reno and black" This reverts commit ea7c1e6. * Add note back * Add test over all transpile levels * black * Update releasenotes/notes/keep-initial-resets-a5f75cb16c8edb57.yaml Co-authored-by: Julien Gacon <[email protected]> * fix imports * remove unused import * damn variable names * remove unused import * conflict * consolidate tests * unrelated change * Change release note to "upgrade" Co-authored-by: Luciano Bello <[email protected]> --------- Co-authored-by: Julien Gacon <[email protected]> Co-authored-by: Luciano Bello <[email protected]> Co-authored-by: Jake Lishman <[email protected]>
- Loading branch information
1 parent
57137ff
commit 676b329
Showing
7 changed files
with
33 additions
and
19 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Disables the use of :class:`.RemoveResetInZeroState` in the preset passmanagers. | ||
This better aligns circuits to the notion of arbitrary initial states | ||
unless explicitly set to zeros with resets. |
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