qiskit/releasenotes/notes/0.23/fix-sparse-pauli-real-63c31...

7 lines
213 B
YAML

---
fixes:
- |
Fix :meth:`.SparsePauliOp.dot` between operators with real coefficients.
To fix this, the dtype that :class:`SparsePauliOp` can take is restricted to
``np.complex128`` and ``object``.