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

Qiskit / qiskit / 16112822587
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: substitute_pi4_rotations
DEFAULT BRANCH: main
Ran 07 Jul 2025 09:41AM UTC
Jobs 1
Files 827
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

07 Jul 2025 09:11AM UTC coverage: 87.725% (+0.07%) from 87.653%
16112822587

push

github

web-flow
Restore correct max_trials behaviour for VF2Layout pass (#14667) (#14692)

* Restore correct max_trials behaviour for VF2Layout pass

The VF2Layout pass is documented as setting a trial limit equivalent to
the being based on the number of edges of the interaction or connectivity
graph. Additionally it supports being a negative value to run unbounded.
However, when vf2 layout was ported to rust in #14056 this behavior was
not preserved. It was not able to handle negative values and also a
value of None was treated as unbounded. This commit corrects these
oversights so the argument to the pass is handled correctly as
documented.

* Improve tests

The previous version of the tests in this module didn't set the seed
correctly, so the rust component was not run. Similarly, the tests
didn't cover the strict direction path. This commit corrects both
oversights so the tests added in this PR cover the fix.

(cherry picked from commit 6e4d83cf2)

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

24 of 25 new or added lines in 1 file covered. (96.0%)

6 existing lines in 4 files now uncovered.

80106 of 91315 relevant lines covered (87.72%)

511675.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.35
8.87% crates/transpiler/src/passes/vf2/vf2_layout.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.98
0.21% crates/circuit/src/symbol_expr.rs
1
93.43
0.0% crates/transpiler/src/passes/unitary_synthesis.rs
1
91.35
8.87% crates/transpiler/src/passes/vf2/vf2_layout.rs
3
92.27
0.52% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 16112822587.1 07 Jul 2025 09:41AM UTC 827
87.72
GitHub Action Run
Source Files on build 16112822587
  • Tree
  • List 827
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16112822587
  • 6f8d3de0 on github
  • Prev Build on gh-readonly-queue/stable/2.1/pr-14658-a2a267751a83ed303a2ca66a740730c9914f4566 (#15998131164)
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

© 2025 Coveralls, Inc