pyqit.core.measure_parity_z#

pyqit.core.measure_parity_z(wires)[source]#

Return the expectation of the PauliZ parity over wires.

The observable is the tensor product of PauliZ on every wire given. Always a single value in [-1, 1], however many wires there are.