qiskit.aqua.operators.legacy.covariance¶
-
covariance
(data, pauli_1, pauli_2, avg_1, avg_2)[Quellcode]¶ Compute the covariance matrix element between two Paulis, given the measurement outcome. Appropriate post-rotations on the state are assumed.
- Parameter
- Rückgabe
the element of the covariance matrix between two Paulis
- Rückgabetyp
float