Quil-T
API Reference
pyquil.gates.
X
Produces the X (“NOT”) gate:
X = [[0, 1], [1, 0]]
This gate is a single qubit X-gate.
qubit (Union[Qubit, QubitPlaceholder, FormalArgument, int]) – The qubit apply the gate to.
Union
Qubit
QubitPlaceholder
FormalArgument
int
Gate
A Gate object.