Lean, informalized

Nielsen & Chuang · Chapter 10, Quantum error-correction · p. 429

Exercise 10.2 - Flipping a qubit with probability pp is measuring XX with probability 2p2p and forgetting the outcome

The bit flip channel as an occasional measurement of XX.

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 passes through the bit flip channel: with probability pp the Pauli matrix XX, which exchanges the two basis states, acts on it, and otherwise it is left alone. A second process treats the qubit another way. With probability 1−2p1-2p it leaves the qubit alone, and with probability 2p2p it measures the observable XX projectively and throws the outcome away; for 1−2p1-2p to be a probability, pp is at most 1/21/2.✦ The exercise is to show that for 0≤p≤1/20 \le p \le 1/2 the two processes are the same channel, taking every state of the qubit to the same state.✦

A Quantum System

A quantum system SS is described by its state space, a finite dimensional complex Hilbert space.✦ Any such space HH is the state space of a system✦, and the qubit is the two level system whose state space is H=ℂ2H = \mathbb{C}^2✦. A state ρ\rho of SS is a positive operator of unit trace on the state space of SS.✦

A unitary UU of SS, a closed system evolution of SS, is an operator on the state space of SS with U†U=UU†=1U^\dagger U = U U^\dagger = 1.✦ Under a unitary UU of SS, a state ρ\rho of SS evolves to UρU†U \rho U^\dagger.✦

Rotations of the Qubit

The Pauli matrices are 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) and σ→=(X,Y,Z)\vec\sigma = (X, Y, Z) is the Pauli vector. For a real vector n→=(nx,ny,nz)\vec n = (n_x, n_y, n_z) the matrix n→⋅σ→\vec n \cdot \vec\sigma is nxX+nyY+nzZn_x X + n_y Y + n_z Z.✦ For such a vector and a real angle θ\theta, the axis rotation Rn→(θ)R_{\vec n}(\theta) is the unitary of the qubit with matrix Rn→(θ)=exp⁡(−iθ2n→⋅σ→);R_{\vec n}(\theta) = \exp\Bigl(-\frac{i\theta}{2}\, \vec n \cdot \vec\sigma\Bigr) ;(2)✦ for a unit vector nˆ\hat n it is the rotation Rnˆ(θ)R_{\hat n}(\theta) through θ\theta about the axis nˆ\hat n.

With xˆ\hat x, yˆ\hat y, zˆ\hat z the unit vectors along the three axes, the Pauli conjugations of the qubit are the four unitaries Rxˆ(0)=IR_{\hat x}(0) = I, the identity, and Rxˆ(π)R_{\hat x}(\pi), Ryˆ(π)R_{\hat y}(\pi) and Rzˆ(π)R_{\hat z}(\pi).✦

The Bit Flip Channel

A random unitary channel of SS is a finite family of unitaries UkU_k of SS together with probabilities pkp_k, nonnegative and summing to one.✦ It acts on a state ρ\rho of SS as ρ↦∑kpkUkρUk†,\rho \mapsto \sum_k p_k\, U_k \rho U_k^\dagger ,(3) The Pauli channel with weights p0,…,p3p_0, \dots, p_3, nonnegative and summing to one, is the random unitary channel of the qubit that mixes the four Pauli conjugations with these weights, ρ↦p0ρ+p1XρX+p2YρY+p3ZρZ.\rho \mapsto p_0\, \rho + p_1\, X \rho X + p_2\, Y \rho Y + p_3\, Z \rho Z .(4)✦

For 0≤q≤10 \le q \le 1 the bit flip channel ℰq\mathcal{E}_q is the Pauli channel with weights (q,1−q,0,0)(q, 1-q, 0, 0): ℰq(ρ)=qρ+(1−q)XρX.\mathcal{E}_q(\rho) = q\, \rho + (1-q)\, X \rho X .(5)✦ The channel of the exercise is ℰ1−p\mathcal{E}_{1-p}.

Measuring XX

An observable AA on SS is a self adjoint operator on the state space of SS, A†=AA^\dagger = A.✦ For a real vector n→\vec n the Pauli observable n→⋅σ→\vec n \cdot \vec\sigma is the observable of the qubit whose operator is the matrix n→⋅σ→\vec n \cdot \vec\sigma.✦ The observable XX is xˆ⋅σ→\hat x \cdot \vec\sigma✦, and it squares to the identity, X2=1X^2 = 1✦.

The projectors P+P_+ and P−P_- of an observable AA on SS are the operators P±=12(1±A),P_\pm = \tfrac{1}{2}\,(1 \pm A),(6) which project onto the eigenspaces of AA for the eigenvalues +1+1 and −1-1 when A2=1A^2 = 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.✦ If the outcome is not read, the measurement takes a state ρ\rho of SS to the unread postmeasurement state ρ′=∑iMiρMi†,\rho' = \sum_i M_i \rho M_i^\dagger ,(7)✦

For an observable AA with A2=1A^2 = 1, 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 Measurement Model

The mixture of two states ρ\rho and σ\sigma of SS with weight λ\lambda, a real number with 0≤λ≤10 \le \lambda \le 1, is the convex combination λρ+(1−λ)σ\lambda \rho + (1-\lambda) \sigma, prepared by choosing ρ\rho with probability λ\lambda and σ\sigma otherwise.✦

For 0≤p≤1/20 \le p \le 1/2 the measurement model ℳp\mathcal{M}_p takes a state ρ\rho of the qubit to the mixture, with weight 1−2p1-2p, of ρ\rho itself and its unread postmeasurement state under the sign measurement of XX: ℳp(ρ)=(1−2p)ρ+2p(P+ρP++P−ρP−),P±=12(1±X).\mathcal{M}_p(\rho) = (1-2p)\, \rho + 2p\, \bigl(P_+ \rho P_+ + P_- \rho P_-\bigr), \qquad P_\pm = \tfrac{1}{2}\,(1 \pm X).(8)✦ It is the second process of the exercise.

The Claim

Theorem 1. Let 0≤p≤1/20 \le p \le 1/2. The bit flip channel that applies XX with probability pp is the measurement model ℳp\mathcal{M}_p: for every state ρ\rho of the qubit, ℰ1−p(ρ)=ℳp(ρ).\mathcal{E}_{1-p}(\rho) = \mathcal{M}_p(\rho) .(9)✦

What Is Checked

The claim is stated over two maps on the states of the qubit: the bit flip channel (5) and the measurement model (8).

About these constructions the library proves that the bit flip weights (q,1−q,0,0)(q, 1-q, 0, 0) are nonnegative for 0≤q≤10 \le q \le 1✦ and sum to one✦, so that ℰq\mathcal{E}_q is a Pauli channel. It proves that conjugating a state by a unitary gives a state and that a random unitary channel takes states to states; that the unread postmeasurement state is a state, its trace being one by the completeness relation; and that a mixture of two states is a state. The matrix n→⋅σ→\vec n \cdot \vec\sigma is Hermitian, so the Pauli observable is self adjoint, and for an observable with A2=1A^2 = 1 the projectors P±P_\pm satisfy the completeness relation, so that the sign measurement of XX is a measurement.