-
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.
Browse files
Browse the repository at this point in the history
* Do not unroll gates in basis * add tests * review comments * Add reno (cherry picked from commit 582070d) Co-authored-by: Julien Gacon <[email protected]>
- Loading branch information
1 parent
23f181c
commit 1263d82
Showing
3 changed files
with
149 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed a bug in :meth:`.RZGate.control` for more than 1 control qubit, which used | ||
an unnecessarily expensive decomposition. | ||
Fixed `#13473 <https://github.com/Qiskit/qiskit/issues/13473>`__. | ||
upgrade_circuits: | ||
- | | ||
The generic control method for gates now avoids attempting to translate gates | ||
into a supported basis, if the gate is already supported. This can slightly change the | ||
synthesis of the controlled gate, although it should not increase the two-qubit gate count. |
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