Closed alexanderivrii closed 2 months ago
One or more of the following people are relevant to this code:
@Qiskit/terra-core
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/qasm2/src/lex.rs | 3 | 91.98% | ||
crates/qasm2/src/parse.rs | 6 | 97.61% | ||
<!-- | Total: | 9 | --> |
Totals | |
---|---|
Change from base Build 10919208944: | 0.5% |
Covered Lines: | 73483 |
Relevant Lines: | 82724 |
Summary
The
HighLevelSynthesis
transpiler pass no longer raises an exception when encountering a custom gate that is called "qft" but is not an instance of classQFTGate
. Instead, the synthesis plugins for QFT gates ignore such a gate, and the gate's definition is used (if provided).Fixes #13120 and #13174.
The PR is very short and has backport potential (if desired).