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

Qiskit / qiskit / 22055679464
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-15619-4e390fd8c43dfa207c4db88fc0058959b584416a
DEFAULT BRANCH: main
Ran 16 Feb 2026 09:11AM 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.351% (-0.02%) from 88.374%
22055679464

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%)

37 existing lines in 3 files now uncovered.

96688 of 109436 relevant lines covered (88.35%)

1193560.05 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
92.29
0.51% crates/qasm2/src/lex.rs
11
73.58
-0.45% crates/circuit/src/parameter/symbol_expr.rs
24
96.21
-1.42% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 22055679464.1 16 Feb 2026 09:11AM UTC 884
88.35
GitHub Action Run
Source Files on build 22055679464
  • Tree
  • List 884
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22055679464
  • 25c77ec2 on github
  • Prev Build on gh-readonly-queue/stable/2.3/pr-15681-66bb96052e2b18734620577569760cd14a4b3e1c (#21941744848)
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