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

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

Build:
Build:
LAST BUILD BRANCH: unitary-synthesis
DEFAULT BRANCH: main
Ran 13 Aug 2025 04:42PM UTC
Files 837
Run time 54s
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

13 Aug 2025 04:02PM UTC coverage: 88.258% (-0.002%) from 88.26%
16942709694.1

push

github

web-flow
Add structural equality check for `DAGCircuit` (#14762)

* Add structural equality check for `DAGCircuit`

The current implementation of equality (the Python-facing
`DAGCircuit.__eq__`) is a semantic-equality checker.  This is typically
what users care about.  Transpiler-pass authors, however, need to care
about determinism in the order of modifications of a DAG, including
normally internal details such as the precise set of `NodeIndex`es that
are populated, or the order the edges are traversed for any given node.

This commit adds a new method, `DAGCircuit::structurally_equal`, which
checks the node and edge lists of the graph structure for exact equality
(slightly indirectly, since `petgraph` doesn't let us access the
internal details of the `StableGraph` struct directly), to help verify
whether two DAGs have gone through the same order of modifications.

* Improve documentation

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

* Update crates/circuit/src/dag_circuit.rs

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

---------

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

87221 of 98825 relevant lines covered (88.26%)

520963.51 hits per line

Source Files on job 16942709694.1
  • Tree
  • List 837
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16942709694
  • aeb15b82 on github
  • Prev Job for on gh-readonly-queue/main/pr-14762-cb48c26c82c9922afbf838c2de656a6803794443 (#16941091775.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