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

Qiskit / qiskit / 23708755076
87%

Build:
DEFAULT BRANCH: main
Ran 29 Mar 2026 12:41PM UTC
Jobs 1
Files 928
Run time 2min
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

29 Mar 2026 11:47AM UTC coverage: 87.461% (-0.02%) from 87.477%
23708755076

push

github

web-flow
Simply Sabre release-valve calculation (#15897)

There is an edge case in release-valve handling where, if the shortest
path is a single swap (but the heuristics have been chosen such that it
is unselectable normally), it is possible for the release valve to cause
_two_ gates to be routed.  The previous handling of this path was
written in quite a complicated manner, likely to be able to use
`closest_node` by name from its discovery earlier in the release-valve
process.

Instead, it is easier to recognise that, given a single swap:

* the two qubits cannot be part of the same gate, or the gate would have
  been routable _without_ the swap;
* the `closest_node` must touch one of these qubits because of the
  the Dijkstra search;
* therefore we can simply add any routable gate that touches _either_
  qubit without risk of duplication or forgetting `closest_swap`.

2 of 5 new or added lines in 1 file covered. (40.0%)

33 existing lines in 5 files now uncovered.

104008 of 118919 relevant lines covered (87.46%)

1000273.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
94.38
1.18% crates/transpiler/src/passes/sabre/route.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.99
0.0% crates/circuit/src/parameter/parameter_expression.rs
1
94.38
1.18% crates/transpiler/src/passes/sabre/route.rs
9
91.77
-1.29% crates/qasm2/src/lex.rs
10
73.89
-0.37% crates/circuit/src/parameter/symbol_expr.rs
12
97.15
-0.95% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 23708755076.1 29 Mar 2026 12:41PM UTC 928
87.46
GitHub Action Run
Source Files on build 23708755076
  • Tree
  • List 928
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23708755076
  • b2d4c87a on github
  • Prev Build on gh-readonly-queue/main/pr-14909-9c6baac6f83ac6ef8161abdc2c5e86ee9e13125e (#23707087164)
  • Next Build on main (#23738581156)
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