Rz | R Documentation |
The Rz gate
Rz(bit, theta = 0)
bit |
integer. The bit to which to apply the gate |
theta |
numeric. angle |
An S4 class 'sqgate' object is returned
x <- qstate(nbits=2)
z <- Rz(1, pi/4) * x
z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.