Commit 1049ece
* Fix circuit-metadata propagation in `SabreLayout` (Qiskit#14186)
This has been a bug since Qiskitgh-10712, but wasn't caught by the integration
test in the test suite because the circuit has a perfect layout, so the
layout stage was short-circuiting out after VF2.
(cherry picked from commit 2504bde)
# Conflicts:
# qiskit/transpiler/passes/layout/sabre_layout.py
* Fix merge conflicts
* Adjust plugins used in testing for 1.4.x
---------
Co-authored-by: Jake Lishman <[email protected]>
Co-authored-by: Matthew Treinish <[email protected]>
1 parent 0db5b7a commit 1049ece
File tree
3 files changed
+24
-4
lines changed- qiskit/transpiler/passes/layout
- releasenotes/notes
- test/python/transpiler
3 files changed
+24
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
308 | 311 | | |
309 | 312 | | |
310 | 313 | | |
| |||
315 | 318 | | |
316 | 319 | | |
317 | 320 | | |
318 | | - | |
| 321 | + | |
319 | 322 | | |
320 | 323 | | |
321 | 324 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1576 | 1576 | | |
1577 | 1577 | | |
1578 | 1578 | | |
1579 | | - | |
1580 | | - | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
1581 | 1588 | | |
1582 | 1589 | | |
1583 | 1590 | | |
| |||
1592 | 1599 | | |
1593 | 1600 | | |
1594 | 1601 | | |
1595 | | - | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
1596 | 1608 | | |
1597 | 1609 | | |
1598 | 1610 | | |
| |||
0 commit comments