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

Qiskit / qiskit / 8185355448 / 1
87%
main: 88%

Build:
Build:
LAST BUILD BRANCH: c-api-register-queries
DEFAULT BRANCH: main
Ran 07 Mar 2024 09:11AM UTC
Files 1282
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

07 Mar 2024 08:14AM UTC coverage: 86.918% (+0.004%) from 86.914%
8185355448.1

push

github

web-flow
Remove old graph structure during `EquivalenceLibrary.set_entry` (#11959) (#11963)

* Remove old graph structure during `EquivalenceLibrary.set_entry`

The previous implementation of `EquivalenceLibrary.set_entry` changed
the equivalence rules attached to particular nodes within the graph
structure, but didn't correctly update the edges, so the graph was no
longer representing the correct data, and queries within
`BasisTranslator` would still use the old equivalence sets.

This correctly clears out the old rules and adds the new structure when
`set_entry` is used.  The inner private variable `_rule_count` is
replaced with `_rule_id`, since it would actually be misleading for its
use to decrement it; this could cause clashes, and what's actually
intended and used is that it's an id for rules.

* Add test with parallel edges

(cherry picked from commit 67e0243ab)

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

75066 of 86364 relevant lines covered (86.92%)

103662.12 hits per line

Source Files on job 8185355448.1
  • Tree
  • List 0
  • Changed 21
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8185355448
  • 85e7cdf6 on github
  • Prev Job for on stable/0.46 (#8172728434.1)
  • Next Job for on stable/0.46 (#8195088978.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