github
Fix `Instruction.repeat` with conditionals (#11940) * 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)
11 of 11 new or added lines in 1 file covered. (100.0%)
12 existing lines in 2 files now uncovered.75008 of 86268 relevant lines covered (86.95%)
100602.56 hits per line