plot,qstate,missing-method | R Documentation |
Plots a circuit corresponding to a qstate object
## S4 method for signature 'qstate,missing'
plot(x, y, ...)
x |
qstate object |
y |
not used here |
... |
additional parameters to be passed on |
nothing is returned, but a plot created
x <- qstate(2)
y <- H(1) * x
z <- CNOT(c(1,2)) * y
plot(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.