Decomposition of matrices with the Pauli matrices
In this article, we introduce that any square matrix can be decomposed as the linear combination of the Pauli matrices.
Denote by the set of all square matrices of order whose components value on .
Furthermore, we write the 3 Pauli matrices as
\begin{align*}
X =
\begin{pmatrix}
0 & 1 \\
1 & 0
\end{pmatrix}, \quad
Y =
\begin{pmatrix}
0 & -i \\
i & 0
\end{pmatrix}, \quad
Z =
\begin{pmatrix}
1 & 0 \\
0 & -1
\end{pmatrix}.
\end{align*}
The following assertion holds obviously:
Proposition. is a Hilbert space under the inner product; for ,
\begin{align*}
\langle A, B \rangle_{M_2(\mathbb{C})} = \frac{1}{2} \textrm{Tr}(B^*A) = \frac{1}{2}\sum_{j=1}^2 \langle Ae_j, Be_j\rangle_{\mathbb{C}^2},
\end{align*}
where is an orthonormal basis of . Moreover, forms an orthonormal basis of .
Consequently, we get the following:
Theorem. Let . Then, forms an orthonormal basis of the tensor product Hilbert space . The members are called -qubit Pauli matrices.
Thus, for any , we get the decomposition , where the inner product represents the one of .