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

Qiskit / qiskit / 17940378364
88%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2025 09:16AM UTC
Jobs 1
Files 868
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

23 Sep 2025 08:10AM UTC coverage: 88.292% (+0.003%) from 88.289%
17940378364

push

github

web-flow
Fix edge-order non-determinism when adding DAG nodes (#15040)

All of `DAGCircuit::push_back`, `DAGCircuit::push_front` and
`DAGCircuitBuilder::push_back` had non-determinisms in the precise order
that edges were added.  The two `DAGCircuit` methods had diverged, so
exhibited _different_ behaviour.  Most of the effects were limited to
nodes with multiple classical in edges, though `DAGCircuit::push_back`
did have some problems with high-degree quantum nodes (like barriers) as
well.

This commit unifies the code handled the two `DAGCircuit` methods to try
and prevent divergences (especially since `apply_operation_front` is
currently little used and little tested).  As a side effect, this fixed
a bug in `apply_operation_front` around handling multiple references to
the same clbit or var in classical expressions that was fixed in
`apply_operation_back` some time prior.

34 of 34 new or added lines in 1 file covered. (100.0%)

12 existing lines in 4 files now uncovered.

92722 of 105017 relevant lines covered (88.29%)

934765.26 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.79
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
73.02
0.16% crates/circuit/src/parameter/symbol_expr.rs
4
91.49
-0.52% crates/qasm2/src/lex.rs
6
96.62
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 17940378364.1 23 Sep 2025 09:16AM UTC 868
88.29
GitHub Action Run
Source Files on build 17940378364
  • Tree
  • List 868
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17940378364
  • 25c3206f on github
  • Prev Build on main (#17936847301)
  • Next Build on main (#17947752985)
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

© 2025 Coveralls, Inc