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