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

Qiskit / qiskit / 22056883703
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: basis_translator_dag
DEFAULT BRANCH: main
Ran 16 Feb 2026 09:51AM UTC
Jobs 1
Files 884
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

16 Feb 2026 08:38AM UTC coverage: 88.373% (-0.001%) from 88.374%
22056883703

push

github

web-flow
Fix HighLevelSynthesis qubit tracking mechanism (#15685) (#15687)

HighLevelSynthesis tracks qubit states throughout its execution, allowing the pass
to choose the best synthesis method for each operation, possibly requiring a certain
number of clean or dirty ancilla qubits. In particular, an operation with `k` qubits
can be synthesized using `m>k` qubits provided the remaining qubits are available in
the rest of the circuit.

As a concrete example, `MCXSynthesis2CleanKG24` is a plugin for synthesizing MCX gates
which applies when at least 2 clean ancilla qubits are available, and can synthesize
a 4-qubit MCX gate over qubits [2, 1, 3, 10] using a 6-qubit quantum circuit over qubits
[2, 1, 3, 10, 4, 12], where the first 4 qubits are the original qubits, and the last 2
qubits are the ancilla qubits.

We assume that each plugin is required to return the state of each ancilla qubit
to its original state. Thus, after we recursively synthesize an operation, the qubit
tracking mechanism returns the ancilla qubits to their previous state. In the example
above, this means restoring the values of qubits 4 and 12.

Previously this computation was done incorrectly, restoring qubits `k..m` instead of
`synthesized_qubits[k..m]`. In our example, this means restoring `4` and `5` instead
of `4` and `12`.

(cherry picked from commit 8f4e195fc)

Co-authored-by: Alexander Ivrii <alexi@il.ibm.com>

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

15 existing lines in 4 files now uncovered.

96712 of 109436 relevant lines covered (88.37%)

1194664.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
73.63
-0.41% crates/circuit/src/parameter/symbol_expr.rs
3
92.29
0.51% crates/qasm2/src/lex.rs
1
82.42
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
93.82
-0.24% crates/qasm2/src/expr.rs
Jobs
ID Job ID Ran Files Coverage
1 22056883703.1 16 Feb 2026 09:51AM UTC 884
88.37
GitHub Action Run
Source Files on build 22056883703
  • Tree
  • List 884
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22056883703
  • 25c77ec2 on github
  • Prev Build on gh-readonly-queue/stable/2.3/pr-15681-66bb96052e2b18734620577569760cd14a4b3e1c (#21941744848)
  • Next Build on stable/2.3 (#22182763245)
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