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

Qiskit / qiskit-terra / 5649952308
86%
main: 87%

Build:
Build:
LAST BUILD BRANCH: sparsepauliop_default_init
DEFAULT BRANCH: main
Ran 24 Jul 2023 09:51PM UTC
Jobs 1
Files 1267
Run time 24s
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
5649952308

push

github

web-flow
Fix final_layout when VF2PostLayout finds a better layout (#10466)

* Fix final_layout when VF2PostLayout finds a better layout

This commit fixes a bug in the preset pass managers when VF2PostLayout
is run and finds a better layout to use. In these cases the ApplyLayout
was updating the layout but we never updated the final layout to reflect
these changes. This would result in an incorrect final layout because
the input positions of the qubits were incorrect after re-applying the
layout. This commit fixes this by adding code to ApplyLayout to also
update final_layout, if one is set, to reflect the new initial layout
found by VF2PostLayout.

Fixes #10457

* Remove stray debug print

* Use a list instead of a dict

* Add assertion on vf2postlayout being used in compiler.transpile tests

* Actually assert a post layout is set

6 of 6 new or added lines in 1 file covered. (100.0%)

73055 of 85004 relevant lines covered (85.94%)

59722.06 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.76
-0.24% crates/qasm2/src/expr.rs
1
91.39
0.25% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 5649952308.1 24 Jul 2023 09:51PM UTC 1267
85.94
GitHub Action Run
Source Files on build 5649952308
  • Tree
  • List 1267
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 42a0ee84 on github
  • Prev Build on gh-readonly-queue/main/pr-10452-e75893d455577b3d211f85b84bb93f69e54b435f (#5649769878)
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