qiskit/releasenotes/notes/2.0/fix_identity_operator_9e2ec...

6 lines
182 B
YAML

---
fixes:
- |
Fixed a bug that caused :meth:`.Statevector.expectation_value` to yield incorrect results
for the identity operator when the statevector was not normalized.