← Exercise library← All exercises for this theme
Theme 2 — Hilbert Spaces and Dirac Notation

Pauli decomposition of two-by-two matrices

Keywords: Pauli matrices · decomposition · Hermitian matrix · eigenvalues · rank-one projector · Bloch vector

Exercise 1 : Pauli decomposition of two-by-two matrices

Let denote the Pauli matrices, and for a vector , let . Assume that is a basis of , orthogonal for the inner product , with and , and that for every .

Question 1
Show that every matrix has a unique expression , with and . Show that is Hermitian if and only if and the are real.

Solution
The expression exists and is unique because is a basis. To obtain the coefficients, take the trace of multiplied by each basis element: because the are traceless, and . Since the matrices and are Hermitian, . By uniqueness of the decomposition, is equivalent to and .

Question 2
Decompose the matrix in the Pauli basis.

Solution
We have . For the other coefficients, it is enough to calculate the diagonal entries of the products. For , , so . For , , so . For , the diagonal entries of are and , hence and . Thus

as may be checked by adding the matrices: the off-diagonal entries are and , and the diagonal entries are .

Question 3
Show that, for nonzero , the eigenvalues of are , and that the associated spectral projectors are , where . Apply this to the matrix in the previous question.

Solution
Set , which satisfies and . Its eigenvalues satisfy , and their sum is zero: they are and . The operators satisfy , , , and they are Hermitian: they are the orthogonal projectors onto the eigenspaces of , because . Since , we obtain . For the previous matrix, , , and the eigenvalues are . Their sum is and their product is .

Question 4
Show that a matrix is a rank-one orthogonal projector if and only if it can be written with a real unit vector. How is this related to the representation of qubit states?

Solution
The previous question shows that such a matrix is an orthogonal projector with trace , hence with rank . Conversely, let be a rank-one orthogonal projector. It is Hermitian, so with real coefficients, and its trace is , hence . Moreover, . The equality requires , hence , and we set , which is a unit vector.

Every pure state of a qubit defines a rank-one projector , which is independent of the global phase of . From the preceding result, for a unique unit vector . The pure states of a qubit, up to a phase, are therefore in one-to-one correspondence with points on the unit sphere: this is the Bloch sphere, and is the Bloch vector of the state. We check that : the components of the Bloch vector are the expectation values of the Pauli matrices.