quantum gate directory

Gates Groups SDKs GitHub

SDK Support Matrix

Which frameworks implement which gates. A ✓ links to the SDK's documentation for its native implementation (hover to see the gate's name in that SDK). A ~ means the gate isn't built in but there is a standard way to construct it — hover for the recipe. A — means the SDK has no reasonable direct equivalent.

Every link in this table is verified against the SDK's current stable documentation. Spotted a gap or a new release we missed? Open an issue.

Gate Qiskit PennyLane Cirq Q# PyQuil Braket BQSKit Qibo pytket Stim OpenQASM
Pauli-X ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Pauli-Y ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Pauli-Z ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Identity ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Hadamard ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Square Root of X ✓ ✓ ✓ ✓ ~ ✓ ✓ ✓ ✓ ✓ ✓
Phase ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
T ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ — ✓
unnamed — — — — — — — — — — —
U2 ✓ ✓ ~ — ~ ~ ✓ ✓ ✓ — ✓
x Rotation ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ — ✓
y Rotation ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ — ✓
z Rotation ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ — ✓
Phase Shift ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ — ✓
Phased Rotation ✓ ~ ✓ ~ — ✓ ✓ ✓ ✓ — —
Arbitrary Rotation ✓ ✓ ~ ✓ — ~ ✓ ~ ~ — —
U3 ✓ ✓ ~ — ✓ ✓ ✓ ✓ ✓ — ✓
xx Rotation ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ —
yy Rotation ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ —
zz Rotation ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ —
zx Rotation ✓ ~ ~ ~ — — — ✓ ~ — —
Controlled x Rotation ✓ ✓ ~ ~ ~ ~ ✓ ✓ ✓ — ✓
Controlled y Rotation ✓ ✓ ~ ~ ~ ~ ✓ ✓ ✓ — ✓
Controlled z Rotation ✓ ✓ ~ ~ ~ ~ ✓ ✓ ✓ — ✓
Controlled Not ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Controlled-Y ✓ ✓ ✓ ✓ ~ ✓ ✓ ✓ ✓ ✓ ✓
Controlled-Z ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
Controlled Phase ✓ ✓ ✓ ~ ✓ ✓ ✓ ✓ ✓ — ✓
Controlled-Hadamard ✓ ✓ ~ ~ ~ ~ ✓ ✓ ✓ — ✓
Controlled-S ✓ ~ ✓ ~ ~ ~ ✓ ~ ✓ — ~
Controlled sqrt(X) ✓ ~ ✓ ~ — ✓ ✓ ✓ ✓ — ~
Toffoli ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ — ✓
Controlled-CZ ✓ ✓ ✓ ~ ~ ~ ~ ✓ ✓ — ~
Fredkin ✓ ✓ ✓ ~ ✓ ✓ ~ ~ ✓ — ✓
Multi-Controlled X ✓ ✓ ~ ~ ~ ~ ~ ~ ✓ — ~
Deutsch — — — — — — — ✓ ~ — —
Margolus ✓ — — — — — ✓ ~ — — —
SWAP ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓
iSWAP ✓ ✓ ✓ — ✓ ✓ ✓ ✓ ✓ ✓ —
Square Root SWAP ~ ~ ✓ — — — — — ~ — ~
Square Root iSWAP ~ ✓ ✓ — ~ ~ ✓ ✓ ~ — —
fSWAP ~ ✓ ~ — — ~ — ✓ ~ ✓ —
Double CX ✓ — ~ — ~ — — ~ ~ ✓ —
GPi ~ ~ ✓ — — ✓ ✓ ✓ ✓ — —
GPi2 ~ ~ ✓ — — ✓ ✓ ✓ ✓ — —
Mølmer-Sørensen ✓ ~ ✓ — — ✓ ✓ ✓ ✓ ✓ —
Echoed Cross-Resonance ✓ ✓ — — — ✓ ✓ ✓ ✓ — —
Sycamore — — ✓ — ~ — ✓ ✓ ✓ — —
XY Interaction ✓ ✓ ✓ — ✓ ✓ ~ ✓ ✓ — —
Fermionic Simulator ~ ~ ✓ — ✓ ~ ✓ ✓ ✓ — —
Canonical entangling — ~ — — — ~ ~ — ✓ — —
B Gate — — — — — — ✓ — ~ — —
Magic — — — — — — — — ~ — —
Givens Rotation ~ ✓ ✓ — — — — ✓ ~ — —
XX−YY Interaction ✓ — — — — — — — ~ — —
Shift — ✓ ~ — — — ✓ — — — —
Clock — ✓ ~ — — — ✓ — — — —
Chrestenson — — ~ — — — — — — — —
Controlled Shift (SUM) — — ~ — — — — — — — —
Controlled Clock — — ~ — — — — — — — —
Global Phase ✓ ✓ ✓ ~ ~ ✓ — ~ ✓ — ✓
Quantum Fourier Transform ✓ ✓ ✓ ✓ ~ — — ✓ ~ — —
Oracle ✓ — — — — ~ — — ~ — —
Phase Oracle ✓ ~ — — — — — — ~ — —
Grover Diffuser ✓ ✓ — — — — — ~ ~ — —
Virtual Distillation — — — — — — — — — — —
Back to home

gate.directory made by nts $\oplus$ rdls