qiskit.ignis.verification.composite_pauli_z_expvalue¶
-
composite_pauli_z_expvalue
(counts_dictionary, qn)[Quellcode]¶ Generates expectation value of n tensored pauli matrix upon input of qubit number and composite pauli matrix
- Parameter
counts_dictionary (
Dict
) – The countsqn (
int
) – Number of qubits
- Rückgabetyp
float
- Rückgabe
The expectation value