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

Qiskit / qiskit / 19482567593
88%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2025 11:45PM UTC
Jobs 1
Files 875
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

18 Nov 2025 10:05PM UTC coverage: 88.21% (+0.03%) from 88.184%
19482567593

push

github

web-flow
Split out transpiler stages into separate rust functions (#15205)

* Split out transpiler stages into separate rust functions

For the rust function that implements the `qk_transpile()` C API it was
originally written as a single function where the full "staged pass
manager" was just a rust function and the pass manager logic was just
the logic inside that function. This worked fine and provided a full
pipeline as a single entrypoint which was the desire for qk_transpile.
However, with the plans to expose DAGCircuit to rust (see #15187) to
facilitate creating custom transpiler passes from C. To enable users to
pair custom passes with the default workflow it will be useful to
expose the preset stages to C as well.

This commit is the first step towards that, as it splits the stages
from the `qk_transpile()` into standalone rust functions. Each stage
gets it's own function which can be called independently. These new
functions have public visibility because the goal is that these will
be exposed to C. Following on from this PR separate PRs will be
opened for each stage that expose these new functions to the C API
and enable using them in custom transpilation workflows.

* Fix lint after rebase

208 of 223 new or added lines in 1 file covered. (93.27%)

10 existing lines in 2 files now uncovered.

94319 of 106925 relevant lines covered (88.21%)

1135318.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
93.68
0.34% crates/transpiler/src/transpiler.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
93.68
0.34% crates/transpiler/src/transpiler.rs
7
91.77
-0.26% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 19482567593.1 18 Nov 2025 11:45PM UTC 875
88.21
GitHub Action Run
Source Files on build 19482567593
  • Tree
  • List 875
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19482567593
  • 77c79fca on github
  • Prev Build on gh-readonly-queue/main/pr-15351-df237a3a971d4daab502ea964403f3469939606e (#19481902046)
  • Next Build on main (#19511142843)
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