We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a112d55 commit c858efaCopy full SHA for c858efa
1 file changed
releasenotes/notes/fix-sampled-expval-complex-11393.yaml
@@ -5,8 +5,5 @@ fixes:
5
:meth:`.BitArray.expectation_values` silently dropping the imaginary
6
component of expectation values when the operator has complex coefficients.
7
Both functions now return ``complex`` values when the input coefficients are
8
- complex, and ``float`` values otherwise. Previously, the inner Rust
9
- functions ``sampled_expval_complex`` and
10
- ``sampled_expval_sparse_observable`` computed the full complex result but
11
- returned only the real part. Fixed
12
- `#11393 <https://github.com/Qiskit/qiskit/issues/11393>`__.
+ complex, and ``float`` values otherwise.
+ Fixed `#11393 <https://github.com/Qiskit/qiskit/issues/11393>`__.
0 commit comments