QnQuosCodeQuosPict1QuosPict2 WnNamesWikiPictureWikiPictAlt QubitsMatrixString
10 Qubit in state 0
21 Qubit in state 1
3Q Qubit in arbitrary state
4I 1I
Identity
No-op
1
10
01
5H 8H
Hadamard
Walsh-Hadamard
11/√2
11
1-1
6X 3X
Pauli X
sx
NOT
Bit flip
1
01
10
7Y 4Y
Pauli Y
sy
1
0−i
i0
8Z 5Z
Pauli Z
sz
Phase flip
1
10
0−1
9S 6S
sqrt-Z
P
Phase S
1
10
0i
10T 16T
Phase gate T
Pi/8 gate
P pi/4
Fourth root of Z
1
10
0e^iπ/4
11V 7V
sqrt-X
sqrt-NOT
SX
11/2
1+i1−i
1-i1+i
12Rx 19Rx ?
Rotation about x-axis
1
cosθ/2−isinθ/2
−isinθ/2cosθ/2
13Ry 20Ry ?. Rotation about y-axis
1
cosθ/2−sinθ/2
sinθ/2cosθ/2
14Rz 21Rz ?. Rotation about z-axis
1
e^−iθ/20
0e^iθ/2
15Ph 2Ph d
Phase d
(e^id)I
Global phase
1e^iδ
10
01
16Pp 15P phi
R phi
u1 phi
Phase shift
1
10
0e^iφ
17U 30U ? ? ?
General single qubit rotation
1
cosθ/2-(e^−iλ)sinθ/2
(e^−iϕ)sinθ/2(e^i(λ+ϕ))cosθ/2
18C X 9CX
CNOT
XOR
Controlled NOT
Controlled X
Reversible exclusive OR
Feynman
2
1000
0100
0001
0010
19C Z 11CZ
CPF
CSign
Cphase
Controlled Z
Controlled sign flip
Controlled phase flip
2
1000
0100
0010
000-1
20C S 18CS
Cntrolled S
Controlled phase S
2
1000
0100
0010
000i
21C Pp 17Controlled phase
C phase f
CR f
2
1000
0100
0010
000e^iφ
22Cd X 10CdX
CdashX
XNOR
Controlled NOT
Anticontrolled X
Zero control
Control-on-0-NOT
Reversible exclusive NOR
2
0100
1000
0010
0001
23Sw Sw 13Swap
2
1000
0010
0100
0001
24iSw iSw 14iSwap
Imaginary swap
2
1000
00i0
0i00
0001
25M Measurement gate
26O Observation gate
26K Komparator
Comparator
12Double-controlled NOT
DCNOT
2
1000
0010
0001
0100
22XX interaction
Rxx ?
XX ?
2
cosϕ/200−isinϕ/2
0cosϕ/2−isinϕ/20
0−isinϕ/2cosϕ/20
−isinϕ/200cosϕ/2
23YY interaction
Ryy ?
YY ?
2
cosϕ/200isinϕ/2
0cosϕ/2−isinϕ/20
0−isinϕ/2cosϕ/20
isinϕ/200cosϕ/2
24ZZ interaction
Rzz ?
ZZ ?
2
e^−iϕ/2000
0e^−iϕ/200
00e^−iϕ/20
000e^−iϕ/2
25XY
XX plus YY
Rxy ?
XY ?
2
1000
0cosϕ/2−isinϕ/20
0−isinϕ/2cosϕ/20
0001
26Square root swap
2
1000
0(1+i)/2(1−i)/20
0(1−i)/2(1+i)/20
0001
27Square root imaginary swap
2
1000
01/sqrt2i/sqrt20
0i/sqrt21/sqrt20
0001
28Swap (raised to a power)
2
1000
0(1+e^iπα)/2(1−e^iπα)/20
0(1−e^iπα)/2(1+e^iπα)/20
0001
29CSwap
Controlled swap
Fredkin
3
10000000
01000000
00100000
00010000
00001000
00000010
00000100
00000001
31Barenco
Barenco a ? ?
2
1000
0100
00(e^iα)cosθ−i(e^i(α−ϕ)sinθ
00−i(e^i(α+ϕ))sinθ(e^iα)cos⁡θ
32B
Berkeley B
2
cosπ/800isinπ/8
0cos3π/8isin3π/80
0isinπ/8cosπ/80
isinπ/800cosπ/8
33CSX
controlled square root NOT
controlled square root X
Controlled V
2
1000
0100
00e^iπ/4e^−iπ/4
00e^−iπ/4e^iπ/4
34Core entangling
Canonical decomposition
N a b c
Can a b c
2
(e^ic)cos(a−b)00(e^ic)sin(a−b)
0(e^-ic)cos(a+b)(e^-ic)sin(a+b)0
0(e^-ic)sin(a+b)(e^-ic)cos(a+b)0
(e^ic)sin(a−b)00(e^ic)cos(a−b)
35Dagwood Bumstead
DB
2
1000
0cos3π/8−isin3π/80
0−isin3π/8cos3π/80
0001
36Echoed cross resonance
ECR
21/sqrt2
001i
00i1
1−i00
−i100
37Fermionic simulation
UfSim ? ?
fSim ? ?
2
1000
0cosθ−isinθ0
0−isinθcosθ0
000e^iϕ
38Givens. G ?
Givens ?
2
1000
0cosθ−sinθ0
0sinθcosθ0
0001
39Magic. Mu
21/sqrt2
1i00
00i1
00i−1
1−i00
40Sycamore
Syc
fSim p/2 p/6
2
1000
00−i0
0−i00
000e^−iπ/6
41Deutsch
D ?
3
10000000
01000000
00100000
00010000
00001000
00000100
000000icos⁡θsinθ
000000sinθicosθ
42Margolus
M
RCCX
Simplified Toffoli
3
10000000
01000000
00100000
00010000
00001000
00000−100
00000001
00000010
43Peres
PG
3
10000000
01000000
00100000
00010000
00000001
00000010
00001000
00000100