Pauli Matrices
Here is a summary of useful properties of Pauli matrices in quantum computation.
I. Definition
Pauli matrices are $2\times 2$ matrices which are defined as below,
\[X = \sigma_x = \begin{pmatrix} 0 & 1\\ 1 &0 \end{pmatrix}, Y = \sigma_y =\begin{pmatrix} 0 & -i\\ i &0 \end{pmatrix}, Z = \sigma_z =\begin{pmatrix} 1 & 0\\ 0 &-1 \end{pmatrix}. \nonumber\]From the definition above, we could easily check the following properties of Pauli matrices:
- Pauli matrices are Hermitian, $X = X^{\dagger},Y = Y^{\dagger},Z = Z^{\dagger}$.
- Pauli matrices are unitary, $X^{\dagger}X = I,Y^{\dagger}Y = I,Z^{\dagger}Z = I$.
II. Eigenvalues, Eigenstates, Diagonalized Form
Here are eigenvalues, eigenstates and diagonalized form of Pauli matrices.
- For $X$, the eigenvalues $\lambda_1=1$ and $\lambda_2=-1$, and their corresponding eigenvectors are
- For $Y$, the eigenvalues $\lambda_1=1$ and $\lambda_2=-1$, and their corresponding eigenvectors are
- For $Z$, the eigenvalues $\lambda_1=1$ and $\lambda_2=-1$, and their corresponding eigenvectors are
III. Operation on Basis
For $Z-$basis state, the operation of Pauli matrices are given by
\[X|0\rangle = |1\rangle, Y|0\rangle = i|1\rangle, Z|0\rangle = |0\rangle,\nonumber\\ X|1\rangle = |0\rangle, Y|1\rangle = -i|0\rangle, Z|1\rangle = -|1\rangle. \nonumber\]For $X-$basis state, the operation of Pauli matrices are given by
\[X|+\rangle = |+\rangle, Y|+\rangle = -i|-\rangle, Z|+\rangle = |-\rangle, \nonumber\\ X|-\rangle = -|-\rangle, Y|-\rangle = i|+\rangle, Z|-\rangle = |+\rangle. \nonumber\]IV. Commutation Rules
The commutation of two matrices/operators are defined as $[A, B] = AB-BA$, and the anti-commutation of two matrices/operators are defined as ${A, B} = AB+BA$. Pauli matrices obey the following commutation and anti-commutation rules.
- Commutation. Pauli matrix commutes with themselves but does not commute with another Pauli matrix,
- Anti-commucation. Pauli matrix does not commute with themselves but anticommute with another Pauli matrix,
V. Useful Identities
Here are several useful identities of Pauli matrices.
- For the multiplication $\sigma_i\sigma_j$, we have
- For the trace ${\rm Tr}{\sigma_i\sigma_j}$, we have ${\rm Tr}{\sigma_i\sigma_j} = 2\delta_{ij}$, or
- For the multiplication in the form $\sigma_{i}\sigma_j\sigma_i$, we have
- For the multiplication in the form $H\sigma_i H$, we have
VI. Pauli matrices as basis
For any $2\times 2$ complex matrix and $a,b,c,d\in\mathbb{C}$
\[\begin{pmatrix} a & b \\ c & d \end{pmatrix} = \frac{a+d}{2}I + \frac{b+c}{2}X - \frac{b-c}{2i}Y+ \frac{a-d}{2}Z \nonumber\]Specially, for any $2\times 2$ Hermitian matrix and $a,b,c,d\in\mathbb{R}$,
\[\begin{pmatrix} a & b \\ c & d \end{pmatrix} = \frac{a+d}{2}I + bX - cY+ \frac{a-d}{2}Z \nonumber\]