powered by
Plots a circuit corresponding to a qstate object
# S4 method for qstate,missing plot(x, y, ...)
nothing is returned, but a plot created
qstate object
not used here
additional parameters to be passed on
x <- qstate(2) y <- H(1) * x z <- CNOT(c(1,2)) * y plot(z)
Run the code above in your browser using DataLab