RYGate.to_matrix

RYGate.to_matrix()[source]

Return a numpy.array for the RY gate.