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

Qiskit / qiskit / 17469670539
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: add-litinski-to-asv
DEFAULT BRANCH: main
Ran 04 Sep 2025 04:38PM UTC
Jobs 1
Files 866
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

04 Sep 2025 03:57PM UTC coverage: 88.385% (-0.004%) from 88.389%
17469670539

push

github

web-flow
Fix calls to `VF2PostLayout` after optimization loop at O3 (#14869)

* Do not run VF2PostLayout in level 3 if layout args are set

This commit fixes a bug in the construction of the preset pass manager
for optimization level 3. In Qiskit 2.1.0 we started running the
VF2PostLayout pass in strict mode at the end of the optimization stage.
However when that was added it neglected to have a check that the user
didn't specify an explicit layout with the `initial_layout` argument
or a specific layout method be used with the `layout_method` argument.
This meant even though the user requested a specific layout or layout
technique the preset pass managers would ignore that setting and
VF2PostLayout would potentially pick a different layout. This commit
fixes this by only running the VF2PostLayout pass if these settings are
not used.

Fixes #14867

* Actually apply layout if a better one is found in optimization

* Cleanup test code

* Remove unused import

* Add target condition before running vf2post

* Don't run if there are free nodes in strict mode

* Fix typo

* Use the correct rustworkx function in strict mode

* Fix release notes

15 of 15 new or added lines in 3 files covered. (100.0%)

15 existing lines in 3 files now uncovered.

92195 of 104311 relevant lines covered (88.38%)

561549.32 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.24
-0.1% crates/transpiler/src/passes/unitary_synthesis.rs
5
92.53
0.0% crates/qasm2/src/lex.rs
9
72.9
-0.29% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 17469670539.1 04 Sep 2025 04:38PM UTC 866
88.38
GitHub Action Run
Source Files on build 17469670539
  • Tree
  • List 866
  • Changed 7
  • Source Changed 3
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17469670539
  • b4094ddc on github
  • Prev Build on gh-readonly-queue/main/pr-14984-0a4da9ec83a26538bfb0b4aa21fda6d99d577d83 (#17469273132)
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