I

pyquil.gates.I(qubit)[source]

Produces the I identity gate:

I = [1, 0]
    [0, 1]

This gate is a single qubit identity gate. Note that this gate is different that the NOP instruction as noise channels are typically still applied during the duration of identity gates. Identities will also block parallelization like any other gate.

Parameters:qubit (Union[Qubit, QubitPlaceholder, int]) – The qubit apply the gate to.
Return type:Gate
Returns:A Gate object.