qiskit.aqua.operators.legacy.measure_pauli_z¶
-
measure_pauli_z
(data, pauli)[Quellcode]¶ Appropriate post-rotations on the state are assumed.
- Parameter
data (dict) – a dictionary of the form data = {‚00000‘: 10} ({str: int})
pauli (Pauli) – a Pauli object
- Rückgabe
Expected value of paulis given data
- Rückgabetyp
float