Closed Cryoris closed 2 days 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 | 4 | 93.13% | ||
<!-- | Total: | 4 | --> |
Totals | |
---|---|
Change from base Build 9614505164: | 0.04% |
Covered Lines: | 63528 |
Relevant Lines: | 70776 |
The times of the good old multi-X gate are over.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
qiskit/circuit/library/generalized_gates/permutation.py | 1 | 92.86% | ||
qiskit/circuit/library/standard_gates/xx_plus_yy.py | 2 | 95.74% | ||
qiskit/circuit/library/standard_gates/xx_minus_yy.py | 2 | 95.74% | ||
crates/qasm2/src/lex.rs | 6 | 92.37% | ||
crates/qasm2/src/parse.rs | 6 | 97.15% | ||
crates/circuit/src/operations.rs | 79 | 73.24% | ||
<!-- | Total: | 96 | --> |
Totals | |
---|---|
Change from base Build 9614505164: | 0.05% |
Covered Lines: | 63661 |
Relevant Lines: | 70917 |
@Mergifyio backport stable/0.46 stable/1.1
backport stable/0.46 stable/1.1
Summary
Previously,
DAGCircuit.replace_block_with_op
allowed to place ann
-qubit operation onto a block ofm
qubits, leaving the DAG in an invalid state. This behavior has been fixed, and the attempt will raise aDAGCircuitError
.Details and comments
For example, this is currently possible:
which prints