30 lines
964 B
Plaintext
30 lines
964 B
Plaintext
---
|
||
title: measure_pauli_z (v0.26)
|
||
description: API reference for qiskit.aqua.operators.legacy.measure_pauli_z in qiskit v0.26
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.aqua.operators.legacy.measure_pauli_z
|
||
---
|
||
|
||
<span id="qiskit-aqua-operators-legacy-measure-pauli-z" />
|
||
|
||
# qiskit.aqua.operators.legacy.measure\_pauli\_z
|
||
|
||
<Function id="qiskit.aqua.operators.legacy.measure_pauli_z" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-aqua/tree/stable/0.9/qiskit/aqua/operators/legacy/common.py" signature="measure_pauli_z(data, pauli)">
|
||
Appropriate post-rotations on the state are assumed.
|
||
|
||
**Parameters**
|
||
|
||
* **data** (*dict*) – a dictionary of the form data = \{‘00000’: 10} (\{str: int})
|
||
* **pauli** ([*Pauli*](qiskit.quantum_info.Pauli "qiskit.quantum_info.Pauli")) – a Pauli object
|
||
|
||
**Returns**
|
||
|
||
Expected value of paulis given data
|
||
|
||
**Return type**
|
||
|
||
float
|
||
</Function>
|
||
|