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

Qiskit / qiskit / 20139715914
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: hard-pin-bincode
DEFAULT BRANCH: main
Ran 11 Dec 2025 04:54PM UTC
Jobs 1
Files 884
Run time 3min
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

11 Dec 2025 04:14PM UTC coverage: 88.311% (+0.02%) from 88.296%
20139715914

push

github

web-flow
Add `qk_dag_compose` to the C API (#15329)

* Initial: Add `qk_dag_compose` to the C API

* Test: Add one test
The test is based on the ``test_compose_inorder`` python test, but it is incomplete since we cannot check the order of the operations just yet. However, we can easily check the number of operation nodes as a temporary way of checking the validity of the composition.

* Apply suggestions from code review

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

* Fix: Use `std::slice::from_raw_parts`.

* Fix: Add extra test with qubit re-ordering.

* Fix: Finalize test by adding clbit reordering.

* Fix: memory leak in test_dag.c

* Docs: Add example in docstring

* Fix: Incorrect comparison
- Remove classical registers when not needed.

* Fix: C format

* Apply suggestions from code review

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* FIx: Remove `num_qubits` and `num_clbits`
- Fix error message for general failure in compose.

* Apply suggestion from @Cryoris

Co-authored-by: Julien Gacon <gaconju@gmail.com>

* Small docs & test fixes

- expand exit code return
- fix goto statement missing expected_dag
- improve consistency treating qubit and clbit

---------

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>
Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>

48 of 53 new or added lines in 1 file covered. (90.57%)

15 existing lines in 2 files now uncovered.

96493 of 109265 relevant lines covered (88.31%)

1206555.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
86.52
1.99% crates/cext/src/dag.rs

Uncovered Existing Lines

Lines Coverage ∆ File
5
91.52
-0.51% crates/qasm2/src/lex.rs
10
72.9
-0.41% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 20139715914.1 11 Dec 2025 04:54PM UTC 884
88.31
GitHub Action Run
Source Files on build 20139715914
  • Tree
  • List 884
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20139715914
  • d90cbdeb on github
  • Prev Build on gh-readonly-queue/main/pr-15208-6b963409306e52c8095f3bf5f98afe95faacdd7d (#20137991394)
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