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

Qiskit / qiskit / 22038167306
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: use-ruff
DEFAULT BRANCH: main
Ran 15 Feb 2026 03:58PM UTC
Jobs 1
Files 897
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

15 Feb 2026 03:24PM UTC coverage: 87.973% (+0.004%) from 87.969%
22038167306

push

github

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

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`.

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

6 existing lines in 2 files now uncovered.

100280 of 113989 relevant lines covered (87.97%)

1150220.27 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.81
0.12% crates/circuit/src/parameter/symbol_expr.rs
5
91.77
-0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 22038167306.1 15 Feb 2026 03:58PM UTC 897
87.97
GitHub Action Run
Source Files on build 22038167306
  • Tree
  • List 897
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22038167306
  • 8f4e195f on github
  • Prev Build on gh-readonly-queue/main/pr-15642-ab117851a098ff50da096478f0c92ff0936c3d46 (#21918562756)
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