plot,qstate,missing-method {qsimulatR} | R Documentation |
plot-qstate
Description
Plots a circuit corresponding to a qstate object
Usage
## S4 method for signature 'qstate,missing'
plot(x, y, ...)
Arguments
x |
qstate object |
y |
not used here |
... |
additional parameters to be passed on |
Value
nothing is returned, but a plot created
Examples
x <- qstate(2)
y <- H(1) * x
z <- CNOT(c(1,2)) * y
plot(z)
[Package qsimulatR version 1.1.1 Index]