Closed Cryoris closed 3 weeks ago
One or more of the following people are relevant to this code:
@Qiskit/terra-core
@kevinhartman
@mtreinish
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/accelerate/src/two_qubit_decompose.rs | 1 | 90.82% | ||
crates/qasm2/src/lex.rs | 5 | 92.23% | ||
<!-- | Total: | 6 | --> |
Totals | |
---|---|
Change from base Build 10774677144: | -0.001% |
Covered Lines: | 73031 |
Relevant Lines: | 81897 |
Summary
Fixed #13118.
Details and comments
The matrix representation of
CUGate
in Rust accidentally swapped two arguments (phi
andlam
). This didn't fail the tests, because there all parameters are set to the same value. The tests are therefore also updated to vary the parameters values within a gate.