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

Qiskit / qiskit / 22658547576
88%

Build:
DEFAULT BRANCH: main
Ran 04 Mar 2026 07:33AM UTC
Jobs 1
Files 901
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

04 Mar 2026 06:28AM UTC coverage: 87.694% (-0.003%) from 87.697%
22658547576

push

github

web-flow
Add DAG-based variants of transpiler pass functions in C API (#15614)

* Add DAG-based variants of transpiler pass functions in C API (Qiskit#15576)

* Move complicated passes to qkdag_complicated_passes branch

Remove DAG-based variants for basis_translator, commutative_cancellation,
consolidate_blocks, inverse_cancellation, sabre_layout, unitary_synthesis,
and vf2 passes from this branch. These will be submitted as separate PRs
for individual review.

This branch now only contains the straightforward
passes: ElidePermutation, CheckGateDirection, GateDirection,
Optimize1qGatesDecomposition, RemoveDiagonalGatesBeforeMeasure,
RemoveIdentityEquivalent, and Split2QUnitaries.

* Remove cbinding optional feature from cext.

* Changes needed after merge with main.

* Deleted not needed functions.

* Applied modifications on ElidePermutations, as discussed in the comments.

* Apply suggestion from @eliarbel

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Applied proposed changes ingate_direction.rs

* Added proposed changes in passes.

* Change the check logic to use qk_dag_* functions in all the newly added DAG-variant test functions

* Update crates/cext/src/transpiler/passes/elide_permutations.rs

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Update crates/cext/src/transpiler/passes/elide_permutations.rs

This pass does not change the structure of the DAG in terms of qubits and registers, so we should be able to use this (and omit num_input_qubits).

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Update crates/cext/src/transpiler/passes/gate_direction.rs

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Update crates/cext/src/transpiler/passes/gate_direction.rs

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* Apply... (continued)

109 of 112 new or added lines in 6 files covered. (97.32%)

22 existing lines in 6 files now uncovered.

100460 of 114558 relevant lines covered (87.69%)

1144325.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
86.11
1.11% crates/cext/src/transpiler/passes/remove_identity_equiv.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.11
1.11% crates/cext/src/transpiler/passes/remove_identity_equiv.rs
1
86.99
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
73.73
0.08% crates/circuit/src/parameter/symbol_expr.rs
1
96.02
-0.18% crates/transpiler/src/passes/unitary_synthesis/decomposers.rs
6
91.52
-0.77% crates/qasm2/src/lex.rs
12
97.15
-0.95% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 22658547576.1 04 Mar 2026 07:33AM UTC 901
87.69
GitHub Action Run
Source Files on build 22658547576
  • Tree
  • List 901
  • Changed 12
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22658547576
  • c81aece0 on github
  • Prev Build on gh-readonly-queue/main/pr-15743-fc841c641df37c56da650425384859ce4236dc5a (#22628265169)
  • Next Build on main (#22664777643)
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