> anishgoyal โ–ˆ


Notes โ€บ PHYS 3571: Quantum Computing Lecture 3

Quantum Gates

calendar_today   article 407 words   access_time 3 min   replay Modified

Table of Contents

Gate

1-qubit Gate

Definition 03.1 (Identity Gate).

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}$$
Definition 03.2 (Pauli X Gate).

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.

Definition 03.3 (Pauli Y Gate).

Rotates 180 degrees about the +y-axis. $\hat{Y}\ket{0} = i\ket{1}$ and $\hat{Y}\ket{1} = -i\ket{0}$

Definition 03.4 (Pauli Z Gate).

Rotates 180 degrees about the +z-axis. $\hat{Z}\ket{0} = \ket{0}$ and $\hat{Z} \ket{1} = -\ket{1}$

Definition 03.5 (Hadamard Gate).

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{-}$

Definition 03.6 (Phase Gate).

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}$

Definition 03.7 ($\hat{T}$-Gate $(\frac{\pi}{8} Gate)$).

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

$$\hat{n} = n_{x} \hat{x} + n_{y} \hat{y} + n_{z} \hat{z}$$

where $||\vec{n}||=1$

$$\hat{U} = e^{i \gamma} \left[ \cos \left( \frac{\theta}{2} \right)\hat{I} - i \left( n_{x} \hat{X} + n_{y} \hat{Y} + n_{z} \hat{Z} \right) \sin \left( \frac{\theta}{2} \right) \right] $$
Example 03.8 (Write $\hat{X}$ in the form of $\hat{U}$).
$$\begin{align} e^{i \gamma} \left[ \cos \left( \frac{\pi}{2} \right) \hat{I} - i \sin \left( \frac{\pi}{2} \right) \hat{X} \right] \\ = -i e^{i \gamma} \hat{X} = \hat{X} \end{align}$$

Graph