plot-qstate-missing-method: plot-qstate

plot,qstate,missing-methodR 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)


qsimulatR documentation built on Oct. 16, 2023, 5:06 p.m.