YGate.to_matrix

YGate.to_matrix()[source]

Return a numpy.array for the Y gate.