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

Qiskit / qiskit / 23601954718
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-16023-1b0276a4cc249c39092c5669828920956824ba1b
DEFAULT BRANCH: main
Ran 26 Mar 2026 03:41PM 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 03:11PM UTC coverage: 87.262% (-0.004%) from 87.266%
23601954718

Pull #15884

github

mergify[bot]
Fix: `BasisTranslator` processing of nested `ControlFlowOp` (#15875)

* 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

Co-authored-by: Julien Gacon <gaconju@gmail.com>

---------

Co-authored-by: Julien Gacon <gaconju@gmail.com>
(cherry picked from commit 9c8f4fc53)
Pull Request #15884: Fix: `BasisTranslator` processing of nested `ControlFlowOp` (backport #15875)

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

23 existing lines in 6 files now uncovered.

103549 of 118664 relevant lines covered (87.26%)

1002088.08 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
74.06
-0.29% crates/circuit/src/parameter/symbol_expr.rs
6
97.15
0.47% crates/qasm2/src/parse.rs
5
92.03
0.0% crates/qasm2/src/lex.rs
2
96.89
-0.48% crates/transpiler/src/passes/unitary_synthesis/mod.rs
1
86.99
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
94.71
-0.18% crates/transpiler/src/passes/unitary_synthesis/decomposers.rs
Jobs
ID Job ID Ran Files Coverage
1 23601954718.1 26 Mar 2026 03:41PM UTC 923
87.26
GitHub Action Run
Source Files on build 23601954718
  • Tree
  • List 923
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23601954718
  • Pull Request #15884
  • PR Base - stable/2.4 (#23410488606)
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