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 – The optional index of a qubit.

Return type

PauliTerm

Returns

A PauliTerm object