Lean, informalized

Nielsen & Chuang · Chapter 12, Quantum information theory · p. 591

Exercise 12.28 - In the B92 protocol, Bob can obtain b=1b = 1 exactly when his bit differs from Alice’s

Bob’s outcome one can occur exactly when the bits differ.

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

In the B92 protocol, Bennett’s scheme of 1992 for quantum key distribution, Alice sends Bob one qubit prepared according to a classical bit aa that she keeps: the state |0⟩|0\rangle if a=0a = 0, the state |+⟩|+\rangle if a=1a = 1. Bob holds a bit a′a' of his own. He measures the Pauli operator ZZ on the qubit if a′=0a' = 0 and the Pauli operator XX if a′=1a' = 1, and records b=0b = 0 for the eigenvalue +1+1 and b=1b = 1 for the eigenvalue −1-1. The exercise is to show that Bob obtains b=1b = 1 with nonzero probability exactly when a≠a′a \neq a'.✦ Each b=1b = 1 then tells him Alice’s bit, a=1−a′a = 1 - a'.

A Quantum System

A quantum system SS is described by its state space, a finite dimensional complex Hilbert space.✦ A state ρ\rho of SS is a positive operator of unit trace on the state space of SS.✦ A pure state ψ\psi of SS is a unit vector |ψ⟩|\psi\rangle in the state space of SS✦; it determines the state |ψ⟩⟨ψ||\psi\rangle\langle\psi| of SS, the rank one projector onto |ψ⟩|\psi\rangle.✦

The qubit is the quantum system whose state space is ℂ2\mathbb{C}^2✦, with the computational basis kets |0⟩=(10),|1⟩=(01).|0\rangle = \begin{pmatrix} 1 \\ 0 \end{pmatrix}, \qquad |1\rangle = \begin{pmatrix} 0 \\ 1 \end{pmatrix}.(1)✦ The pure state |0⟩|0\rangle of the qubit has the first of these kets as its vector✦, and the pure state |+⟩|+\rangle has the vector |+⟩=(1/21/2)=|0⟩+|1⟩2.|+\rangle = \begin{pmatrix} 1/\sqrt{2} \\ 1/\sqrt{2} \end{pmatrix} = \frac{|0\rangle + |1\rangle}{\sqrt{2}}.(2)✦

Observables and Measurements

An observable AA on SS is a self adjoint operator on the state space of SS, A†=AA^\dagger = A.✦ The Pauli 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}(3) make up the Pauli vector σ→=(X,Y,Z)\vec{\sigma} = (X, Y, Z). For a real vector n→=(nx,ny,nz)\vec{n} = (n_x, n_y, n_z), the Pauli observable n→⋅σ→\vec{n} \cdot \vec{\sigma} is the observable on the qubit with the matrix n→⋅σ→=nxX+nyY+nzZ.\vec{n} \cdot \vec{\sigma} = n_x X + n_y Y + n_z Z.(4)✦ The observables XX and ZZ are the Pauli observables of the unit vectors xˆ=(1,0,0)\hat{x} = (1, 0, 0) and zˆ=(0,0,1)\hat{z} = (0, 0, 1).

A measurement on SS with a finite set of outcomes is a family of measurement operators MiM_i on the state space of SS, one for each outcome ii, satisfying the completeness relation ∑iMi†Mi=1.\sum_i M_i^\dagger M_i = 1.(5)✦ The effect of the outcome ii of a measurement {Mi}\{M_i\} on SS is the positive operator Ei=Mi†MiE_i = M_i^\dagger M_i on the state space of SS, and the effects EiE_i together form the positive operator valued measure (POVM) of the measurement. The probability of the outcome ii when the measurement is performed on a state ρ\rho of SS is given by the Born rule, p(i)=Tr⁡(MiρMi†)=Tr⁡(Eiρ).p(i) = \operatorname{Tr}(M_i \rho M_i^\dagger) = \operatorname{Tr}(E_i \rho).(6)✦

The projectors P+P_+ and P−P_- of an observable AA are the operators P±=12(1±A);P_\pm = \tfrac{1}{2}(1 \pm A);(7) when A2=1A^2 = 1 they project onto the eigenspaces of AA for the eigenvalues +1+1 and −1-1. The sign measurement of an observable AA with A2=1A^2 = 1 is the measurement with two outcomes whose operators are M0=P+M_0 = P_+ and M1=P−M_1 = P_-, the outcome 00 standing for the eigenvalue +1+1 and the outcome 11 for −1-1: the projective measurement of AA.✦

The Protocol

Alice’s state |ψa⟩|\psi_a\rangle for a bit aa is the pure state of the qubit |ψ0⟩=|0⟩,|ψ1⟩=|+⟩.|\psi_0\rangle = |0\rangle, \qquad |\psi_1\rangle = |+\rangle.(8)✦ Bob’s observable Ba′B_{a'} for a bit a′a' is the observable ZZ on the qubit when a′=0a' = 0 and the observable XX when a′=1a' = 1.✦ Bob’s measurement for the bit a′a' is the sign measurement of Ba′B_{a'}.✦ The probability P(b=1∣a,a′)P(b = 1 \mid a, a') that Bob obtains b=1b = 1 is the probability of the outcome 11 of his measurement on the state |ψa⟩⟨ψa||\psi_a\rangle\langle\psi_a|, P(b=1∣a,a′)=Tr⁡(P−|ψa⟩⟨ψa|P−†),P−=12(1−Ba′).P(b = 1 \mid a, a') = \operatorname{Tr}\bigl(P_- \, |\psi_a\rangle\langle\psi_a| \, P_-^\dagger\bigr), \qquad P_- = \tfrac{1}{2}(1 - B_{a'}).(9)✦

The Claim

Theorem 1. For any bits aa and a′a', with Alice’s state |ψa⟩|\psi_a\rangle of (8) and Bob’s sign measurement of Ba′B_{a'}, the probability (9) of the result b=1b = 1 satisfies P(b=1∣a,a′)≠0⇔a≠a′.P(b = 1 \mid a, a') \neq 0 \iff a \neq a'.(10)✦

What Is Checked

The claim is stated over the probability P(b=1∣a,a′)P(b = 1 \mid a, a') of (9), the Born probability of the eigenvalue −1-1 when the sign measurement of ZZ or of XX is performed on the state |0⟩⟨0||0\rangle\langle 0| or |+⟩⟨+||+\rangle\langle +| of the qubit.

The library proves that |0⟩|0\rangle and |+⟩|+\rangle have unit norm, and that the projector onto a unit vector is a density operator, so that |ψa⟩⟨ψa||\psi_a\rangle\langle\psi_a| is a state of the qubit. It proves that n→⋅σ→\vec{n} \cdot \vec{\sigma} is Hermitian, so that each Pauli observable is self adjoint, and that XX and ZZ square to the identity. For an observable with A2=1A^2 = 1 it proves that P+P_+ and P−P_- are self adjoint and idempotent with P++P−=1P_+ + P_- = 1, which gives the completeness relation (5) for the sign measurement; for any measurement, it proves that the effects EiE_i are positive and sum to the identity.