Exercise 1 : Pauli decomposition of two-by-two matrices
Let σ=(σx,σy,σz) denote the Pauli matrices, and for a vector a=(ax,ay,az), let a⋅σ=axσx+ayσy+azσz. Assume that {1,σx,σy,σz} is a basis of M2(C), orthogonal for the inner product ⟨A,B⟩=tr(A†B), with tr(σjσk)=2δjk and trσj=0, and that (a⋅σ)2=∣a∣21 for every a∈R3.
Question 1
Show that every matrix A∈M2(C) has a unique expression A=a01+a⋅σ, with a0=21trA and aj=21tr(σjA). Show that A is Hermitian if and only if a0 and the aj are real.
Solution
The expression exists and is unique because {1,σx,σy,σz} is a basis. To obtain the coefficients, take the trace of A multiplied by each basis element: trA=2a0 because the σj are traceless, and tr(σjA)=a0trσj+∑kaktr(σjσk)=2aj. Since the matrices 1 and σj are Hermitian, A†=a0∗1+∑jaj∗σj. By uniqueness of the decomposition, A†=A is equivalent to a0∗=a0 and aj∗=aj.
Question 2
Decompose the matrix A=(31+i1−i1) in the Pauli basis.
Solution
We have a0=21(3+1)=2. For the other coefficients, it is enough to calculate the diagonal entries of the products. For σz,tr(σzA)=3−1=2, so az=1. For σx,tr(σxA)=A21+A12=(1+i)+(1−i)=2, so ax=1. For σy, the diagonal entries of σyA are −iA21=−i(1+i)=1−i and iA12=i(1−i)=1+i, hence tr(σyA)=2 and ay=1. Thus
A=21+σx+σy+σz,
as may be checked by adding the matrices: the off-diagonal entries are 1−i and 1+i, and the diagonal entries are 2±1.
Question 3
Show that, for nonzero a∈R3, the eigenvalues of A=a01+a⋅σ are a0±∣a∣, and that the associated spectral projectors are P±=21(1±n⋅σ), where n=a/∣a∣. Apply this to the matrix in the previous question.
Solution
Set K=n⋅σ, which satisfies K2=∣n∣21=1 and trK=0. Its eigenvalues satisfy λ2=1, and their sum is zero: they are +1 and −1. The operators P±=21(1±K) satisfy P±2=41(1±2K+K2)=P±,P+P−=41(1−K2)=0,P++P−=1, and they are Hermitian: they are the orthogonal projectors onto the eigenspaces of K, because KP±=21(K±1)=±P±. Since A=a01+∣a∣K, we obtain A=(a0+∣a∣)P++(a0−∣a∣)P−. For the previous matrix, a=(1,1,1),∣a∣=3, and the eigenvalues are 2±3. Their sum is 4=trA and their product is 4−3=1=detA=3−∣1−i∣2.
Question 4
Show that a matrix P∈M2(C) is a rank-one orthogonal projector if and only if it can be written P=21(1+n⋅σ) with n 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 1, hence with rank 1. Conversely, let P be a rank-one orthogonal projector. It is Hermitian, so P=a01+a⋅σ with real coefficients, and its trace is 1, hence a0=21. Moreover, P2=a021+2a0a⋅σ+∣a∣21=(41+∣a∣2)1+a⋅σ. The equality P2=P requires 41+∣a∣2=21, hence ∣a∣=21, and we set n=2a, 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, ∣ψ⟩⟨ψ∣=21(1+n⋅σ) for a unique unit vector n. 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 n is the Bloch vector of the state. We check that ⟨ψ∣σj∣ψ⟩=tr(∣ψ⟩⟨ψ∣σj)=21tr(σj+∑knkσkσj)=nj: the components of the Bloch vector are the expectation values of the Pauli matrices.