QnQuosName1QuosName2QuosPict1QuosPict2WnWikiNamesWikiPictWikiPictAltQubitsMatrixString
1I1I, Identity, No-op1|1 0|0 1
2Ph2Ph, Phase, (e^id)I, Global phase 1e^id|1 0|0 1
3X3X, Pauli X, sx, NOT, Bit flip1|0 1|1 0
4Y4Y, Pauli Y, sy1|0 -i|i 0
5Z5Z, Pauli Z, sz, Phase flip1|1 0|0 -1
6S6S, sqrt-Z, P, Phase S1|1 0|0 i
7V7V, sqrt-X, sqrt-NOT, SX11/2|1+i 1-i|1-i 1+i
8H8H, Hadamard, Walsh-Hadamard11/sqrt2|1 1|1 -1
9CX9CX, CNOT, XOR, Controlled NOT, Controlled X, Reversible exclusive OR, Feynman2|1 0 0 0|0 1 0 0|0 0 0 1|0 0 1 0
10CdX10CdX, CdashX, XNOR, Controlled NOT, Anticontrolled X, Zero control, Control-on-0-NOT, Reversible exclusive NOR 2|0 1 0 0|1 0 0 0|0 0 1 0|0 0 0 1
11CZ11CZ, CPF, CSign, Cphase, Controlled Z, Controlled sign flip, Controlled phase flip2|1 0 0 0|0 1 0 0|0 0 1 0|0 0 0 -1
12SwSw13Swap 2|1 0 0 0|0 0 1 0|0 1 0 0|0 0 0 1
13iSwiSw14iSwap, Imaginary swap 2|1 0 0 0|0 0 i 0|0 i 0 0|0 0 0 1
14Pp15Pphi, P phi, R phi, u1 phi, Phase shift 1|1 0|0 e^if
15T16T, Phase gate T, Pi/8 gate, P pi/4, Fourth root of Z1|1 0|0 e^ip/4
16CPp17Controlled phase, C phase f, CR f2|1 0 0 0|0 1 0 0|0 0 1 0|0 0 0 e^if
17CS18CS, Cntrolled S, Controlled phase S2|1 0 0 0|0 1 0 0|0 0 1 0|0 0 0 i
18Rx19Rx, Rx ?, Rotation about x-axis1|cos?/2 -isin?/2|-isin?/2 cos?/2
19Ry20Ry, Ry ?. Rotation about y-axis 1|cos?/2 -sin?/2|sin?/2 cos?/2
20Rz21Rz, Rz ?. Rotation about z-axis 1|e^-i?/2 0|0 e^i?/2