Notes โบ PHYS 3571: Quantum Computing Lecture 3
Quantum Gates
407 words 3 min Modified
Table of Contents
Gate
- A gate is mathematically formalized as an operator that turns some ket into another ket
- Linear mapping that preserves the norm
- Two categories:
- 1-qubit gates
- 2-qubit gates
- For quantum computers, the universal gate set is comprised of all the 1-qubit gates and at least one 2-qubit gate
1-qubit Gate
- Takes an arbitrary point on the Bloch Sphere and moves it to another point
- This is done via rotation
- Defined by what it does to $\ket{0}$ and $\ket{1}$
A gate that returns the original wavefunction. $\hat{I}\ket{0} = \ket{0}$ and $\hat{I}\ket{1} = \ket{1}$
$$\begin{align} \hat{I}\ket{\psi} &= \hat{I}(\alpha \ket{0} + \beta \ket{1} ) \\ &= \alpha\hat{I} \ket{0} + \beta \hat{I} \ket{1} \\ &= \alpha \ket{0} + \beta \ket{1} \\ &= \ket{\psi} \end{align}$$A gate that rotates 180 degrees about the +x-axis on the Bloch Sphere. $\hat{X}\ket{0} = \ket{1}$ and $\hat{X} \ket{1} = \ket{0}$
$$\begin{align} \hat{X} \ket{\psi} &= \hat{X} (\alpha \ket{0} + \beta \ket{1} ) \\ &= \alpha \ket{1} + \beta \ket{0} \end{align}$$The same effect (switching) occurs in the $i$ basis, since the reflection also affects the $y$-axis.
Rotates 180 degrees about the +y-axis. $\hat{Y}\ket{0} = i\ket{1}$ and $\hat{Y}\ket{1} = -i\ket{0}$
Rotates 180 degrees about the +z-axis. $\hat{Z}\ket{0} = \ket{0}$ and $\hat{Z} \ket{1} = -\ket{1}$
180 degree rotation about 45 degrees in the $xz$-plane $\hat{H}\ket{0} =\frac{\sqrt{ 2 }}{2}(\ket{0} + \ket{1}) = \ket{+}$ and $\hat{H} \ket{1} = \frac{\sqrt{ 2 }}{2}(\ket{0} - \ket{1}) = \ket{-}$
Rotates 90 degrees about the +z-axis. Square root of the $\hat{Z}$ gate, or the fourth root of the $\hat{I}$ gate. $\hat{S}\ket{0}=\ket{0}$ and $\hat{S}\ket{1} = i\ket{1}$
Rotates 45 degrees about the +z-axis. Square root of the $\hat{S}$ gate, or the fourth root of the $\hat{Z} gate$ $\hat{T}\ket{0} = \ket{0}$ and $\hat{T}\ket{1} = e^{i \frac{\pi}{4}}\ket{1}$
Generalization of Bloch Sphere Rotation
- The rotation of some $\theta$ about a given direction is:
where $||\vec{n}||=1$
- Universal rotation operator $\hat{U}$