sZ

pyquil.paulis.sZ(q)[source]

A function that returns the sigma_Z operator on a particular qubit.

Parameters

qubit_index – The index of the qubit

Return type

PauliTerm

Returns

A PauliTerm object