Lean, informalized

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

Exercise 12.26 - The probabilities of Bob's outcomes on Alice's four BB84 states, in either basis

Bob’s bit when the bases match and when they 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 BB84, the key distribution protocol of Bennett and Brassard, Alice encodes a bit aa in a qubit, in one of two bases chosen by a second bit bb: the computational basis {|0⟩,|1⟩}\{\lvert 0\rangle, \lvert 1\rangle\} for b=0b = 0, and for b=1b = 1 the basis {|+⟩,|−⟩}\{\lvert +\rangle, \lvert -\rangle\} of eigenvectors of the Pauli operator XX. Bob, who does not know bb, measures the qubit in a basis b′b' of his own choosing and obtains a bit a′a'. The exercise asks what a′a' says about aa when the qubit reaches him unchanged. If b′=bb' = b, then a′=aa' = a with certainty.✦ If b′≠bb' \neq b, then a′a' is equally likely to be 00 or 11✦, and it is uncorrelated with aa.✦

A Qubit and Its Measurements

A quantum system SS is a physical system whose state space is a finite dimensional complex Hilbert space.✦ Every finite dimensional complex Hilbert space is the state space of a system✦, and the qubit is the system whose state space is ℂ2\mathbb{C}^2.✦

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 |ψ⟩\lvert\psi\rangle in the state space of SS✦; it determines the state |ψ⟩⟨ψ|\lvert\psi\rangle\langle\psi\rvert of SS, the projector onto |ψ⟩\lvert\psi\rangle.✦

A measurement MM on SS with a finite set of outcomes is a family of 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 .(1)✦ The operators Ei=Mi†MiE_i = M_i^\dagger M_i are the effects of the positive operator valued measure (POVM) of MM.✦ When MM is performed on a state ρ\rho, the outcome ii occurs with the probability given by the Born rule, pM(i∣ρ)=Tr⁡(MiρMi†)=Tr⁡(Eiρ).p_M(i \mid \rho) = \operatorname{Tr}(M_i \rho M_i^\dagger) = \operatorname{Tr}(E_i \rho) .(2)✦

An observable AA on SS is a self adjoint operator on the state space of SS.✦ From it come the operators P±=12(1±A),P_\pm = \tfrac{1}{2}(1 \pm A) ,(3) which, when A2=1A^2 = 1, are the projectors onto the eigenspaces of AA for the eigenvalues +1+1 and −1-1. For such an AA, the sign measurement of AA 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 Pauli matrices are X=(0110),Y=(0−ii0),Z=(100−1),X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \quad Y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \quad Z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix},(4) and for a real vector n→=(nx,ny,nz)\vec{n} = (n_x, n_y, n_z) in three dimensions, with the Pauli vector σ→=(X,Y,Z)\vec{\sigma} = (X, Y, Z), we write n→⋅σ→=nxX+nyY+nzZ\vec{n} \cdot \vec{\sigma} = n_x X + n_y Y + n_z Z. The Pauli observable n→⋅σ→\vec{n} \cdot \vec{\sigma} is this operator regarded as an observable on the qubit.✦ The unit vectors xˆ=(1,0,0)\hat{x} = (1, 0, 0) and zˆ=(0,0,1)\hat{z} = (0, 0, 1) give the observables XX and ZZ.

The basis kets of ℂ2\mathbb{C}^2 are the columns |0⟩=(1,0)\lvert 0\rangle = (1, 0) and |1⟩=(0,1)\lvert 1\rangle = (0, 1)✦, and the eigenvectors of XX for the eigenvalues +1+1 and −1-1 are |±⟩=(12,±12)=12(|0⟩±|1⟩).\lvert\pm\rangle = \Bigl(\tfrac{1}{\sqrt{2}}, \pm\tfrac{1}{\sqrt{2}}\Bigr) = \tfrac{1}{\sqrt{2}}\bigl(\lvert 0\rangle \pm \lvert 1\rangle\bigr) .(5) For a bit ii, the basis state |i⟩\lvert i\rangle of the qubit is the pure state whose vector is the ket |i⟩\lvert i\rangle✦, and the states |+⟩\lvert +\rangle and |−⟩\lvert -\rangle are the pure states whose vectors are (5).

Alice’s States and Bob’s Measurements

For bits aa and bb, Alice’s state |ψab⟩\lvert\psi_{ab}\rangle is the pure state of the qubit given by |ψ00⟩=|0⟩,|ψ10⟩=|1⟩,|ψ01⟩=|+⟩,|ψ11⟩=|−⟩.\lvert\psi_{00}\rangle = \lvert 0\rangle, \quad \lvert\psi_{10}\rangle = \lvert 1\rangle, \quad \lvert\psi_{01}\rangle = \lvert +\rangle, \quad \lvert\psi_{11}\rangle = \lvert -\rangle .(6)✦

Bob’s basis observable Ob′O_{b'} is ZZ for b′=0b' = 0 and XX for b′=1b' = 1.✦ His measurement M(b′)M^{(b')} in the basis b′b' is the sign measurement of Ob′O_{b'}, and its outcome is his bit a′a'.✦ We write pb′(j∣a,b)=pM(b′)(j∣|ψab⟩⟨ψab|)p_{b'}(j \mid a, b) = p_{M^{(b')}}\bigl(j \mid \lvert\psi_{ab}\rangle\langle\psi_{ab}\rvert\bigr)(7) for the probability that Bob obtains the bit jj in the basis b′b' when Alice has prepared |ψab⟩\lvert\psi_{ab}\rangle, where aa, bb, b′b' and jj are bits.

The Claim

Theorem 1. Let aa, bb and jj be bits. If Bob measures in Alice’s basis bb, then pb(a∣a,b)=1.p_b(a \mid a, b) = 1 .(8)✦ If he measures in a basis b′≠bb' \neq b, then pb′(j∣a,b)=12,p_{b'}(j \mid a, b) = \tfrac{1}{2} ,(9)✦ and, for any two values a1a_1 and a2a_2 of Alice’s bit, pb′(j∣a1,b)=pb′(j∣a2,b).p_{b'}(j \mid a_1, b) = p_{b'}(j \mid a_2, b) .(10)✦

What Is Checked

The claim is stated over Alice’s states (6) and Bob’s measurements M(b′)M^{(b')}, through the Born rule (2).

The library proves that both basis observables square to the identity, Ob′2=1O_{b'}^2 = 1, so that each M(b′)M^{(b')} is a sign measurement as defined above. It proves that the vectors of Alice’s four states have unit norm and that the projector onto a unit vector is a density operator, which makes each |ψab⟩⟨ψab|\lvert\psi_{ab}\rangle\langle\psi_{ab}\rvert a state. The matrix n→⋅σ→\vec{n} \cdot \vec{\sigma} is Hermitian, so every Pauli observable is self adjoint.