Ran
|
Files
1282
|
Run time
44s
|
Badge
Embed ▾
README BADGES
|
push
github
Fix `Instruction.repeat` with conditionals (#11940) (#12499) * Fix `Instruction.repeat` with conditionals We can't put register conditionals within an `Instruction.definition` field; the data model of `QuantumCircuit` doesn't permit closing over registers from within definitions. This commit moves a condition to the outer `Instruction` that's returned. * Avoid 'to_mutable' if not needed * Add proviso on repeated conditionals in documentation * Update wording in release note Co-authored-by: Luciano Bello <bel@zurich.ibm.com> --------- Co-authored-by: Luciano Bello <bel@zurich.ibm.com> (cherry picked from commit 6ebb7aa57) Co-authored-by: Jake Lishman <jake.lishman@ibm.com>
75008 of 86272 relevant lines covered (86.94%)
100642.8 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|