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

Qiskit / qiskit / 6250386385
88%

Build:
DEFAULT BRANCH: main
Ran 20 Sep 2023 03:32PM UTC
Jobs 1
Files 1268
Run time 34s
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

20 Sep 2023 01:28PM UTC coverage: 87.254% (-0.02%) from 87.278%
6250386385

push

github

web-flow
Use physical qubits internally within Sabre (#10782)

* Use physical qubits internally within Sabre

This swaps the whole Sabre algorithm over to using physical qubits
rather than virtual qubits.  This makes all operations based on finding
the swaps and scoring them far more natural, at the cost of the layer
structures needing to do a little more book-keeping to rewrite
themselves in terms of the new physical qubits after a swap.  This also
means that the swaps that come out of the Sabre algorithm automatically
become physical, which requires less tracking to output them into the
final DAG circuit.

The test outputs change slightly because the order we filter out
duplicate swaps in `obtain_swaps` is not identical.  We filter out cases
where the left index is greater than the right, and with the assignments
of virtual qubits to physical qubits varying, doing the filter with
physical indices in not guaranteed to filter in the same order as doing
it with virtual indices (though the trialled swaps will be the same).

* Remove branching from extended-set scoring

On modern hardware, branching is typically more expensive than a simple
floating-point addition that can be pipelined in.  This removes the
branch in favour of removing the duplication from the scoring at the end
by dividing by two.

* Fix formatting

157 of 157 new or added lines in 4 files covered. (100.0%)

74315 of 85171 relevant lines covered (87.25%)

91633.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6250386385.1 20 Sep 2023 03:32PM UTC 0
87.25
GitHub Action Run
Source Files on build 6250386385
Detailed source file information is not available for this build.
  • Back to Repo
  • 22b94a13 on github
  • Prev Build on gh-readonly-queue/main/pr-10863-e62c86bbc2720883270641f1c154743a657cfca8 (#6245163085)
  • Next Build on main (#6253354771)
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