qiskit.aqua.operators.legacy.measure_pauli_z¶
-
measure_pauli_z
(data, pauli)[código fonte]¶ Appropriate post-rotations on the state are assumed.
- Parâmetros
data (dict) – a dictionary of the form data = {‘00000’: 10} ({str: int})
pauli (Pauli) – a Pauli object
- Retorna
Expected value of paulis given data
- Tipo de retorno
float