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

Qiskit / qiskit-terra / 5192133344 / 1
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2023 07:13PM UTC
Files 1245
Run time 19s
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

06 Jun 2023 07:13PM UTC coverage: 85.862% (-0.03%) from 85.889%
5192133344.1

push

github

web-flow
Refactor disjoint routing tests to be more resilient (#10210)

* Refactor disjoint routing tests to be more resilient

The previous method of running the assertions in these tests could
produce false negatives if routing caused an operation to take place on
a virtual qubit that was initially an ancilla.  It was tricky to make
sensible assertions in these cases, since it is slightly fiddly to
determine which ancillas have been assigned to which physical components
of the chip.  This lead to `optimization_level=1` being skipped in one
test, because the routing would use these ancillas.

This refactors the test to be more resistant to valid choices the
routing algorithm might make.  We instead find _all_ the physical qubits
that are in each connected component, determine the mapping of virtual
qubits to components, and then make assertions based on the physical
qubits.  This is resistant to ancillas being used in the comparisons.

* Update test/python/compiler/test_transpiler.py

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

---------

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

70940 of 82621 relevant lines covered (85.86%)

36334.22 hits per line

Source Files on job 5192133344.1
  • Tree
  • List 0
  • Changed 26
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5192133344
  • 218c7735 on github
  • Prev Job for on main (#5191065171.1)
  • Next Job for on main (#5199816774.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