sI

pyquil.paulis.sI(q=None)[source]

A function that returns the identity operator, optionally on a particular qubit.

This can be specified without a qubit.

Parameters:qubit_index (int) – The optional index of a qubit.
Returns:A PauliTerm object
Return type:PauliTerm