• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 23604665307
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: extend_litinski
DEFAULT BRANCH: main
Ran 26 Mar 2026 04:33PM UTC
Jobs 1
Files 923
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2026 04:05PM UTC coverage: 87.257% (-0.02%) from 87.276%
23604665307

push

github

web-flow
Fix: `BasisTranslator` processing of nested `ControlFlowOp` (#15875) (#15884)

* Fix: `BasisTranslator` processing of `ControlFlowOp`
- Remove the bool output `is_updated` from `apply_translation` helper method in `BasisTranslator`.
    The removal of this argument ensures that when a translation is found it is always applied. The `is_modified` boolean output, while intended as a way of optimizing the operation of the `BasisTranslator` did not achieve much as a new `DAGCircuit would be created each time.
    During the `ControlFlowOp` handling step of this method we relied on `is_updated` to determine whether to use the original `DAGCircuit` or not, which in the end would erroneously skip certain transformations in the `Operation`'s blocks.
    By removing this tracking value, which was already ignored by the main `BasisTranslator` process. We end up with a more correct processing of the instructions at hand.
- Update test `test_inner_wire_map_control_op` from the `TestCircuitControlFlowOps` as better outcome is now found for said circuit.

* Test: Add test
- Inspired on [comment](https://github.com/Qiskit/qiskit/issues/13162#issuecomment-2356920956) from @jakelishman.

* Docs: Add release note

* Address review comments:
- Add new test using a backend and the full transpiler pipeline.
- Add all issues to release note.
- Small language fix.

* Lint: formatting

* Fix: Make new test use aer

* Update releasenotes/notes/fix_basis_control_flow-033ecba233d5f9ed.yaml



---------


(cherry picked from commit 9c8f4fc53)

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
Co-authored-by: Julien Gacon <gaconju@gmail.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

32 existing lines in 3 files now uncovered.

103543 of 118664 relevant lines covered (87.26%)

999228.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
18
96.68
-0.95% crates/qasm2/src/parse.rs
8
74.06
-0.33% crates/circuit/src/parameter/symbol_expr.rs
6
91.52
-0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 23604665307.1 26 Mar 2026 04:33PM UTC 923
87.26
GitHub Action Run
Source Files on build 23604665307
  • Tree
  • List 923
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23604665307
  • a7f61ccf on github
  • Prev Build on gh-readonly-queue/stable/2.4/pr-15852-c6013e118a55a10a0a02f8709d972e68b30b316f (#23410490524)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc