where \(|0\rangle = \begin{bmatrix} 0 \\ 1 \end{bmatrix}\) and \(|1\rangle = \begin{bmatrix} 1 \\ 0 \end{bmatrix}\), and