mirror of https://github.com/Qiskit/qiskit.git
9 lines
454 B
YAML
9 lines
454 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixed a bug when :attr:`.SparsePauliOp.paulis` is set to be a :class:`.PauliList` with nonzero
|
|
phase, where subsequent calls to several :class:`.SparsePauliOp` methods would produce
|
|
incorrect results. Now when :attr:`.SparsePauliOp.paulis` is set to a :class:`.PauliList` with
|
|
nonzero phase, the phase is absorbed into :attr:`.SparsePauliOp.coeffs`, and the phase of the
|
|
input :class:`.PauliList` is set to zero.
|