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

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

Build:
DEFAULT BRANCH: main
Ran 08 Dec 2025 04:39PM UTC
Files 880
Run time 30s
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

08 Dec 2025 03:36PM UTC coverage: 88.332% (-0.02%) from 88.351%
20034337492.1

push

github

web-flow
Add substitute_node_with_dag to c api (#15374)

* Add substitute_node_with_dag to c api

This commit adds a new function qk_dag_substitute_node_with_dag to the C
api. This facilitates in place substitute from the new dag api. This is
fairly mechanical addition to the api as
`DAGCircuit::substitute_node_with_dag()` is already rust native. So
we only need to expose that inteface to C. The only difference between
the C and existing internal rust interface is that the qubit, clbit, and
var mapping arguments are not exposed to C. These options aren't
commonly used, and if the user needs to map the ordering they can do
that during replacement dag construction rather that at substitution
time.

Fixes #15190

* Panic instead of returning an exit code on failure modes

The failure modes for calling the inner rust method are all caused by
invalid input or aren't possible via the C API (come from python) so
there isn't a reason to have a subpar error experience dealing with
backtraces when it's not something recoverable.

* Run clang format

* Update documentation

---------

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

96118 of 108814 relevant lines covered (88.33%)

1206646.12 hits per line

Source Files on job 20034337492.1
  • Tree
  • List 880
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20034337492
  • 7a89efc8 on github
  • Prev Job for on main (#20001332678.1)
  • Next Job for on main (#20038271475.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