qiskit-documentation/docs/api/qiskit/0.33/qiskit.ignis.verification.c...

28 lines
902 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: composite_pauli_z_expvalue
description: API reference for qiskit.ignis.verification.composite_pauli_z_expvalue
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.ignis.verification.composite_pauli_z_expvalue
---
# qiskit.ignis.verification.composite\_pauli\_z\_expvalue
<Function id="qiskit.ignis.verification.composite_pauli_z_expvalue" isDedicatedPage={true} github="https://github.com/qiskit-community/qiskit-ignis/tree/stable/0.7/qiskit/ignis/verification/entanglement/analysis.py" signature="composite_pauli_z_expvalue(counts_dictionary, qn)">
Generates expectation value of n tensored pauli matrix upon input of qubit number and composite pauli matrix
**Parameters**
* **counts\_dictionary** (`Dict`) The counts
* **qn** (`int`) Number of qubits
**Return type**
`float`
**Returns**
The expectation value
</Function>