Y

pyquil.gates.Y(qubit)[source]

Produces the Y gate:

Y = [[0, 0 - 1j],
     [0 + 1j, 0]]

This gate is a single qubit Y-gate.

Parameters:qubit – The qubit apply the gate to.
Returns:A Gate object.