-
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.
Fix qft-plugins for custom 'qft' gates (#13181)
- Loading branch information
1 parent
4c64a64
commit 2245a4f
Showing
3 changed files
with
41 additions
and
6 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,9 @@ | ||
--- | ||
fixes: | ||
- | | ||
The ``HighLevelSynthesis`` transpiler pass no longer raises an exception when | ||
encountering a custom gate that is called "qft" but is not an instance of | ||
:class:`~qiskit.circuit.library.QFTGate`. Instead, the synthesis plugins for | ||
QFT gates ignore such a gate, and the gate's definition is used (if provided). | ||
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