sX

pyquil.paulis.sX(q)[source]

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

Parameters

qubit_index – The index of the qubit

Return type

PauliTerm

Returns

A PauliTerm object