Closed jakelishman closed 1 week ago
One or more of the following people are relevant to this code:
@Qiskit/terra-core
@kevinhartman
@mtreinish
I opened #12631 to track deprecation - I'm just throwing together a PR to do it now too.
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
crates/qasm2/src/lex.rs | 2 | 92.37% | ||
crates/qasm2/src/parse.rs | 12 | 97.15% | ||
<!-- | Total: | 14 | --> |
Totals | |
---|---|
Change from base Build 9612593426: | 0.002% |
Covered Lines: | 63511 |
Relevant Lines: | 70775 |
Summary
The legacy 3-tuple format of
CircuitInstruction
still exposes the object in the old tuple-like way of(Operation, list[Qubit], list[Clbit])
, rather than the new-style attribute access using tuples for the qargs and cargs. This was inadvertantly changed when it moved to Rust.Details and comments
Fix #12626.
No changelog because it's not in a release version of Qiskit.