CoreGateLibrary
Pascal_Heus
1.0
C-NOT
Controlled-NOT
C-NOT
C-T
Controlled π/8
e^{i %PI/4 }
e^(i π/4)
C-S
Controlled Phase
C-Z
Controlled-Z
DEUTSCH
Deutsch Gate
The Deutsch gate is a quantum gate, which is based on the idea of a Toffoli gate. It is a 3 input gate where the two top inputs control the action of the bottom line. But this time the action is not a toggle. Instead it is a spin rotation by angle θ about the x axis. See also http://beige.ucs.indiana.edu/M743/node95.html.
theta
cos(θ)
i sin(θ)
i sin(θ)
cos(θ)
FREDKIN
Fredkin
Controlled Swap
The basic Fredkin gate is a controlled swap gate that maps three inputs (C, I1, I2) onto three outputs (C, O1, O2).
The C input is mapped directly to the C output.
If C=0, no swap is performed; I1 maps to O1, and I2 maps to O2.
Otherwise, the two outputs are swapped so that I1 maps to O2, and I2 maps to O1.
H
Hadamard
1/sqrt(2)
1/sqrt(2)
I
Identity
X
Pauli-X
NOT
SQRT-NOT
Square Root of Not
1/sqrt(2)
1/sqrt(2)
Y
Pauli-Y
Z
Pauli-Z
S
Phase
SHIFT
Phase Shift
θ
e^(2πiθ)
SWAP
Swap
TOFFOLI
Toffoli
controlled-controlled-not
The Toffoli gate is a reversible gate that takes three bits as input. The first two are control bits and are left unchanged by the gate. The third bit is flipped if both control bits are equal to 1. It is also known as the “controlled-controlled-not” gate
T
π/8
e^{i %PI/4 }
e^(i π/4)