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

Qiskit / qiskit / 18387869089
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 09 Oct 2025 08:52PM UTC
Jobs 1
Files 871
Run time 2min
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

09 Oct 2025 08:10PM UTC coverage: 88.232% (-0.002%) from 88.234%
18387869089

push

github

web-flow
Fix incorrect mapping of ControlFlow block qargs in `BasisTranslator` (#15143)

* Fix: `ControlFlowOP`/`BasisTranslator` mismatch
- When extracting the basis of the target and applying the translations onto the dag, the `BasisTranslator` would not use the absolute indices of the operating qubits when a control flow operation block was processed during recursion. The following commit adds a mapping to the following `BasisTranslator` methods:
- `extract_target_basis_circuit` which only gets called during a recursion step.
- `apply_translation` in which it is always `None` unless a recursion step happens.

The provided mapping will correctly direct local block qubit indices into the absolute ones stored by the original circuit from which the operation comes from. This should help fix #13728.

* Fix: Add check for unique qargs.
- Map the unique qargs during `apply_translation` in `BasisTranslator`.

* Test: Add simplified reproducer.

* Revert: Error message in `apply_translation`

* Fix: Add release note

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

20 existing lines in 5 files now uncovered.

93167 of 105593 relevant lines covered (88.23%)

1176468.35 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.82
-0.24% crates/qasm2/src/expr.rs
1
83.15
2.57% crates/transpiler/src/passes/basis_translator/mod.rs
5
72.82
-0.16% crates/circuit/src/parameter/symbol_expr.rs
6
96.62
-0.47% crates/qasm2/src/parse.rs
7
91.52
-1.29% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 18387869089.1 09 Oct 2025 08:52PM UTC 871
88.23
GitHub Action Run
Source Files on build 18387869089
  • Tree
  • List 871
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18387869089
  • 21a8dec1 on github
  • Prev Build on gh-readonly-queue/main/pr-14401-83b762d31c8127b77636b38fd0ef91cd3124f472 (#18383063966)
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

© 2025 Coveralls, Inc