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

Qiskit / qiskit / 20140426167
88%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 05:26PM 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

11 Dec 2025 04:14PM UTC coverage: 88.325% (+0.03%) from 88.296%
20140426167

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

4 existing lines in 1 file now uncovered.

96508 of 109265 relevant lines covered (88.32%)

1203522.02 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
4
92.8
0.77% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 20140426167.1 11 Dec 2025 05:26PM UTC 884
88.32
GitHub Action Run
Source Files on build 20140426167
  • Tree
  • List 884
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20140426167
  • d90cbdeb on github
  • Prev Build on gh-readonly-queue/main/pr-15208-6b963409306e52c8095f3bf5f98afe95faacdd7d (#20137991394)
  • Next Build on main (#20143832452)
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