powered by
The Ry gate
Ry(bit, theta = 0)
An S4 class 'sqgate' object is returned
integer. The bit to which to apply the gate
numeric. angle
x <- qstate(nbits=2) z <- Ry(1, pi/4) * x z
Run the code above in your browser using DataLab