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

Qiskit / qiskit / 22964185506 / 1
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: fix-16255-sparsepauliop-simplify
DEFAULT BRANCH: main
Ran 11 Mar 2026 05:28PM UTC
Files 909
Run time 46s
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 Mar 2026 04:52PM UTC coverage: 87.8% (-0.03%) from 87.832%
22964185506.1

push

github

web-flow
Add C/Python interop for `Target` and `DAGCircuit` (#15337)

* Add C/Python interop for `Target` and `DAGCircuit`

This adds the ability to retrieve a `QkDag *` from a Python
`DAGCircuit` and a `QkTarget *`from a `Target`.  For `DAGCircuit`, which
is directly the user-facing pyclass, this commit also includes a way of
passing ownership from a `QkDag *` to a Python object.  `QkTarget` does
not yet have a defined converted to full Python space, since that
involves constructing an additional wrapper object, whose structure
might change soon.

Similar functionality can be added to other objects that we expect C
extension modules to be able to return to Python space.  In some cases
(such as `QkTranspileLayout`), the Rust- and Python-space objects are
quite different, so there is no need to specify a converter until we
have unified them in both.  `CircuitData` is in an awkward spot because
while it _does_ have a perfect correspondence with a Python-space
object, that object is not the complete `QuantumCircuit`.

* Update crates/cext/src/dag.rs

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

* Remove unneeded reference conversion

* Update crates/cext/src/dag.rs

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

* Update crates/cext/src/transpiler/target.rs

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

* Update releasenotes/notes/c-dag-getter-00bce3ca7de3b19c.yaml

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>

---------

Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
Co-authored-by: Julien Gacon <gaconju@gmail.com>

101442 of 115537 relevant lines covered (87.8%)

1167018.47 hits per line

Source Files on job 22964185506.1
  • Tree
  • List 909
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22964185506
  • cd82a9f2 on github
  • Prev Job for on gh-readonly-queue/main/pr-15337-8d12db939c02449be7b5c8e5526ec127c8d5a860 (#22964125097.1)
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