qiskit/releasenotes/notes/2.0/fix-paulilist-length1-phase...

7 lines
256 B
YAML

---
fixes:
- |
Fixed a bug that caused :meth:`.PauliList.insert` with ``qubit=True`` to produce a `phase`
attribute with the wrong shape when the original object was length 1.
Fixed `#13623 <https://github.com/Qiskit/qiskit/issues/13623>`__.