Lean, informalized

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

Exercise 2.59 - A qubit in the basis state |0⟩|0\rangle has average value zero and standard deviation one for the observable XX

The average and spread of XX in the state |0⟩|0\rangle.

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 qubit is prepared in the computational basis state |0⟩|0\rangle, and the Pauli observable XX is measured on it. The exercise asks for the average value of XX in this state and for its standard deviation, the spread of the measured values about that average.

The average value is the expectation value of XX in the state |0⟩|0\rangle, and the spread is the standard deviation of XX in that state.

A Quantum System

A quantum system SS is given by its state space, a finite dimensional complex Hilbert space. The qubit is the two level system whose state space is ℂ2\mathbb{C}^2, the two dimensional complex space with its standard inner product.✦

A pure state |ψ⟩|\psi\rangle of SS is a vector of unit norm in the state space of SS, ‖ψ‖=1\lVert \psi \rVert = 1.✦ For a bit ii, the basis state |i⟩|i\rangle of the qubit is the pure state whose vector is the standard basis vector eie_i of ℂ2\mathbb{C}^2; these are the computational basis states |0⟩=e0=(1,0)|0\rangle = e_0 = (1, 0) and |1⟩=e1=(0,1)|1\rangle = e_1 = (0, 1).✦

Observables

An observable AA of SS is a self adjoint operator on the state space of SS, A†=AA^\dagger = A; its eigenvalues, which are real, are the possible outcomes of a measurement of AA.✦ The square A2A^2 of an observable AA is the observable whose operator is the square of the operator of AA.✦

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},(1) with ii the imaginary unit. The Pauli vector is σ→=(X,Y,Z)\vec{\sigma} = (X, Y, Z); 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 n→⋅σ→=n1X+n2Y+n3Z.\vec{n} \cdot \vec{\sigma} = n_1 X + n_2 Y + n_3 Z .(2) The Pauli observable n→⋅σ→\vec{n} \cdot \vec{\sigma} is the observable of the qubit whose operator is the matrix (2) acting on ℂ2\mathbb{C}^2.✦ The observable XX is the Pauli observable for the unit vector nˆ=(1,0,0)\hat{n} = (1, 0, 0); its operator is the matrix XX of (1).✦

Average Value and Standard Deviation

The expectation value ⟨A⟩ψ\langle A \rangle_\psi of an observable AA of SS in a pure state |ψ⟩|\psi\rangle of SS is the inner product of |ψ⟩|\psi\rangle with its image under AA, a real number because AA is self adjoint: ⟨A⟩ψ=⟨ψ|A|ψ⟩.\langle A \rangle_\psi = \langle \psi | A | \psi \rangle .(3)✦ The variance [Δ(A)]2[\Delta(A)]^2 of AA in |ψ⟩|\psi\rangle is the expectation value of A2A^2 less the square of the expectation value of AA, [Δ(A)]2=⟨A2⟩ψ−⟨A⟩ψ2,[\Delta(A)]^2 = \langle A^2 \rangle_\psi - \langle A \rangle_\psi^2 ,(4) and the standard deviation Δ(A)\Delta(A) of AA in |ψ⟩|\psi\rangle is its square root.

The Claim

Theorem 1. Let the qubit be in the basis state |0⟩|0\rangle. The observable XX has expectation value ⟨0|X|0⟩=0\langle 0 | X | 0 \rangle = 0(5)✦ and standard deviation Δ(X)=1.\Delta(X) = 1 .(6)✦

What Is Checked

The claim is stated over the qubit, its basis state |0⟩|0\rangle, the Pauli observable XX, and the expectation value and standard deviation of an observable in a pure state.

The library proves that each basis vector eie_i has unit norm, so that |i⟩|i\rangle is a pure state, and that the matrix n→⋅σ→\vec{n} \cdot \vec{\sigma} is Hermitian for every real n→\vec{n}, so that the Pauli observable is self adjoint. It proves as well that the square of a self adjoint operator is self adjoint, so that A2A^2 is again an observable.