pyqit.core.measure_expval_z#

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

Return the PauliZ expectation of each wire in wires.

One wire gives a single value in [-1, 1], several give a tuple with one value per wire.