Coming soon
Unitary Instructions
Name | Operator | Description | Example |
---|---|---|---|
I | I | Identity gate | builder.I(0) |
H | H | Hadamard gate | builder.H(0) |
X | X | Pauli-X | builder.X(0) |
X90 | X90 | Rotation around the x-axis of \(\frac{\pi}{2}\) | builder.X90(0) |
mX90 | X-90 | Rotation around the x-axis of \(\frac{-\pi}{2}\) | builder.mX90(0) |
Y | Y | Pauli-Y | builder.Y(0) |
Y90 | Y90 | Rotation around the y-axis of \(\frac{\pi}{2}\) | builder.Y90(0) |
mY90 | Y-90 | Rotation around the y-axis of \(\frac{-\pi}{2}\) | builder.mY90(0) |
Z | Z | Pauli-Z | builder.Z(0) |
S | S | Phase gate | builder.S(0) |
Sdag | S† | S dagger gate | builder.Sdag(0) |
T | T | T | builder.T(0) |
Tdag | T† | T dagger gate | builder.Tdag(0) |
Rx | Rx(\(\theta\)) | Arbitrary rotation around x-axis | builder.Rx(0, 0.23) |
Ry | Ry(\(\theta\)) | Arbitrary rotation around y-axis | builder.Ry(0, 0.23) |
Rz | Rz(\(\theta\)) | Arbitrary rotation around z-axis | builder.Rz(0, 2) |
Rn | Rn(nx, ny, nz, \(\theta\), \(\phi\)g) | Arbitrary rotation around specified axis | builder.Rn(0) |
CZ | CZ | Controlled-Z, Controlled-Phase | builder.CZ(1, 2) |
CR | CR(\theta) | Controlled phase shift (arbitrary angle) | builder.CR(0, 1, 3.1415) |
CRk | CRk(k) | Controlled phase shift (\(\frac{\pi}{2^{k-1}}\)) | builder.CRk(1, 0, 2) |
SWAP | SWAP | SWAP gate | builder.SWAP(1, 2) |
CNOT | CNOT | Controlled-NOT gate | builder.CNOT(1, 2) |