QuantumCircuit class

Constructors

QuantumCircuit(int qbits)

Properties

gates List<Gate>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
qbits int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ch(int qbit1, int qbit2) → void
cx(int qbit1, int qbit2) → void
cy(int qbit1, int qbit2) → void
cz(int qbit1, int qbit2) → void
h(int qbit) → void
i(int qbit) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
s(int qbit) → void
sdg(int qbit) → void
swap(int qbit1, int qbit2) → void
t(int qbit) → void
tdg(int qbit) → void
toffoli(int qbit1, int qbit2, int qbit3) → void
toString() String
A string representation of this object.
inherited
x(int qbit) → void
y(int qbit) → void
z(int qbit) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited