qiskit.aqua.operators.legacy.covariance¶
-
covariance
(data, pauli_1, pauli_2, avg_1, avg_2)[código fonte]¶ Compute the covariance matrix element between two Paulis, given the measurement outcome. Appropriate post-rotations on the state are assumed.
- Parâmetros
- Retorna
the element of the covariance matrix between two Paulis
- Tipo de retorno
float