English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.aqua.operators.legacy.measure_pauli_z

measure_pauli_z(data, pauli)[source]

Appropriate post-rotations on the state are assumed.

Parameters
  • data (dict) – a dictionary of the form data = {‘00000’: 10} ({str: int})

  • pauli (Pauli) – a Pauli object

Returns

Expected value of paulis given data

Return type

float