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

Qiskit / qiskit / 8181526692 / 1
89%
main: 87%

Build:
Build:
LAST BUILD BRANCH: ruff/unused-imports
DEFAULT BRANCH: main
Ran 07 Mar 2024 01:48AM UTC
Files 817
Run time 22s
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 12:52AM UTC coverage: 89.287% (+0.03%) from 89.258%
8181526692.1

push

github

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

* 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>

58909 of 65977 relevant lines covered (89.29%)

188512.47 hits per line

Source Files on job 8181526692.1
  • Tree
  • List 0
  • Changed 30
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8181526692
  • 362efbce on github
  • Prev Job for on stable/1.0 (#8172769515.1)
  • Next Job for on stable/1.0 (#8190487805.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