Lean, informalized

Nielsen & Chuang · Chapter 2, Introduction to quantum mechanics · p. 117

Problem 2.1 - Any function of a scaled spin observable, written with the identity and the observable

Functions of a Pauli observable depend on two values.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

A unit vector nˆ\hat{n} in three dimensions and the vector σ→=(X,Y,Z)\vec{\sigma} = (X, Y, Z) of Pauli matrices give the qubit observable nˆ⋅σ→\hat{n} \cdot \vec{\sigma}, the spin along nˆ\hat{n}. For a function ff from the complex numbers to the complex numbers and a real number θ\theta, the exercise is to show that the matrix f(θnˆ⋅σ→)f(\theta\, \hat{n} \cdot \vec{\sigma}) is a combination of the identity II and nˆ⋅σ→\hat{n} \cdot \vec{\sigma} whose two coefficients depend on ff only through its values f(θ)f(\theta) and f(−θ)f(-\theta).

Functions of a Hermitian Matrix

For a Hermitian complex m×mm \times m matrix AA and a function ff from the complex numbers to the complex numbers, the function f(A)f(A) of AA is the m×mm \times m matrix that has the eigenvectors of AA, with the eigenvalue f(λ)f(\lambda) where AA has the eigenvalue λ\lambda.✦ Written with the real eigenvalues λ1,…,λm\lambda_1, \dots, \lambda_m of AA and a unitary UU whose columns are orthonormal eigenvectors for them, it is f(A)=Udiag⁡(f(λ1),…,f(λm))U†.f(A) = U \operatorname{diag}\bigl(f(\lambda_1), \dots, f(\lambda_m)\bigr)\, U^\dagger .(1)✦

The Pauli Matrices

The Pauli matrices are the complex 2×22 \times 2 matrices X=(0110),Y=(0−ii0),Z=(100−1).X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad Y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \qquad Z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}.(2) For a real vector n→=(n1,n2,n3)\vec{n} = (n_1, n_2, n_3) in three dimensions, the matrix n→⋅σ→\vec{n} \cdot \vec{\sigma} is the complex 2×22 \times 2 matrix whose coefficients on the Pauli matrices are the components of n→\vec{n}: n→⋅σ→=n1X+n2Y+n3Z.\vec{n} \cdot \vec{\sigma} = n_1 X + n_2 Y + n_3 Z .(3)✦

The Claim

Theorem 1. Let ff be a function from the complex numbers to the complex numbers, θ\theta a real number, and nˆ=(n1,n2,n3)\hat{n} = (n_1, n_2, n_3) a real unit vector in three dimensions, n12+n22+n32=1n_1^2 + n_2^2 + n_3^2 = 1. Then the function of the matrix θnˆ⋅σ→\theta\, \hat{n} \cdot \vec{\sigma} by ff, in the sense of (1), is f(θnˆ⋅σ→)=f(θ)+f(−θ)2I+f(θ)−f(−θ)2nˆ⋅σ→.f(\theta\, \hat{n} \cdot \vec{\sigma}) = \frac{f(\theta) + f(-\theta)}{2}\, I + \frac{f(\theta) - f(-\theta)}{2}\, \hat{n} \cdot \vec{\sigma} .(4)✦

What Is Checked

The claim is stated over the function of a Hermitian matrix (1), taken at A=θnˆ⋅σ→A = \theta\, \hat{n} \cdot \vec{\sigma}, and over the matrix n→⋅σ→\vec{n} \cdot \vec{\sigma} of (3), built from the Pauli matrices (2).

About these constructions the library proves that θn→⋅σ→\theta\, \vec{n} \cdot \vec{\sigma} is Hermitian for every real θ\theta and every real vector n→\vec{n}, of unit length or not, so that the left side of (4) is defined.✦