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

Qiskit / qiskit-terra / 5192133344
87%

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

pending completion
5192133344

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

Jobs
ID Job ID Ran Files Coverage
1 5192133344.1 06 Jun 2023 07:13PM UTC 0
85.86
GitHub Action Run
Source Files on build 5192133344
Detailed source file information is not available for this build.
  • Back to Repo
  • 218c7735 on github
  • Prev Build on main (#5191065171)
  • Next Build on main (#5199816774)
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