CNOT | R Documentation |
The CNOT gate
CNOT(bits = c(1, 2))
bits |
integer vector of length two, the first bit being the control and the second the target bit. |
An S4 class 'cnotgate' object is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.