qiskit/releasenotes/notes/1.0/fix-qreg-visualization-afte...

9 lines
367 B
YAML

---
fixes:
- |
Fixed a bug in :class:`~.SabreLayout` where it would fail to add the layout
register information to the property set. This affected circuit visualization, as
``circuit.draw()`` after transpilation with certain optimization levels would show
the full ``Qubit[register]`` label rather than the expected register name
(e.g. ``q0``).