Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
PauliMeasurementBasis¶
- class PauliMeasurementBasis(mitigator=None)[source]¶
Standard Pauli measurement basis.
This basis has 3 indices each with with 2 measurement outcomes. The corresponding single-qubit measurement circuits and outcome POVM matrices are:
Table 1 Single-qubit measurement circuits and POVM matrices¶ Index
Basis
Circuit
Outcome
POVM Matrix
0
Z
-[I]-
0
[[1, 0], [0, 0]]
1
[[0, 0], [0, 1]]
1
X
-[H]-
0
[[0.5, 0.5], [0.5, 0.5]]
1
[[0.5, -0.5], [-0.5, 0.5]]
2
Y
-[SDG]-[H]-
0
[[0.5, -0.5j], [0.5j, 0.5]]
1
[[0.5, 0.5j], [-0.5j, 0.5]]
Initialize Pauli measurement basis
Attributes
Return the basis name
Methods
PauliMeasurementBasis.circuit
(index[, qubits])Return the basis preparation circuit.
Return the shape for the specified number of indices.
PauliMeasurementBasis.matrix
(index, outcome)Return the POVM element for the basis index and outcome.
Return the shape of subsystem dimensions of a POVM attr:~matrix.
Return the shape of allowed measurement outcomes on specified qubits.