Lean, informalized

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

Problem 10.4 - The teleportation identity when the receiving half of the Bell pair is already encoded

Encoding a qubit by teleporting it into a code.

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 in an arbitrary state |ψ⟩|\psi\rangle, to be carried into a code: a system CC with an encoder EE that takes each state of the qubit to its encoded form. The encoding is done by teleportation. One prepares the Bell pair (|00⟩+|11⟩)/2(|00\rangle + |11\rangle)/\sqrt{2} and applies the encoder to its second qubit alone; then |ψ⟩|\psi\rangle and the first qubit of the pair are measured in the Bell basis, with two bits xx and yy as the outcome. The exercise is to show that the code system is left in the encoded state E|ψ⟩E|\psi\rangle up to a Pauli operation, fixed by xx and yy, applied to |ψ⟩|\psi\rangle before the encoder.

The library states the identity on which this protocol rests, an expansion of the joint vector of the three systems in the Bell basis of the two measured qubits.

Systems and States

A quantum system SS is a physical system whose state space is a finite dimensional complex Hilbert space.✦ The composite system S⊗TS \otimes T of two systems SS and TT has for its state space the tensor product of their state spaces.✦ The qubit QQ is the quantum system with state space ℂ2\mathbb{C}^2.✦

A pure state |ψ⟩|\psi\rangle of a system SS is a unit vector in the state space of SS.✦ For pure states |ψ⟩|\psi\rangle of SS and |φ⟩|\varphi\rangle of TT, the product state |ψ⟩|φ⟩|\psi\rangle|\varphi\rangle is the pure state of S⊗TS \otimes T whose vector is |ψ⟩⊗|φ⟩|\psi\rangle \otimes |\varphi\rangle.✦ For a bit i∈{0,1}i \in \{0,1\}, 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.✦

For bits xx and yy, the Bell vector |βxy⟩|\beta_{xy}\rangle is the vector in the state space of Q⊗QQ \otimes Q given by |βxy⟩=12(|0⟩|y⟩+(−1)x|1⟩|y‾⟩),|\beta_{xy}\rangle = \frac{1}{\sqrt{2}}\bigl(|0\rangle|y\rangle + (-1)^x\,|1\rangle|\bar y\rangle\bigr),(1)✦ where y‾=y+1mod⁡2\bar y = y + 1 \bmod 2 is the flip of yy. The pair of the exercise is |β00⟩|\beta_{00}\rangle.

An identification of two systems SS and TT is a linear isometric bijection from the state space of SS onto that of TT, along which the two are regarded as one system.✦ For three systems AA, BB and CC, the regrouping α\alpha is the identification of A⊗(B⊗C)A \otimes (B \otimes C) with (A⊗B)⊗C(A \otimes B) \otimes C that sends |u⟩⊗(|v⟩⊗|w⟩)|u\rangle \otimes (|v\rangle \otimes |w\rangle), for vectors |u⟩|u\rangle, |v⟩|v\rangle, |w⟩|w\rangle in the state spaces of AA, BB, CC, to α(|u⟩⊗(|v⟩⊗|w⟩))=(|u⟩⊗|v⟩)⊗|w⟩.\alpha\bigl(|u\rangle \otimes (|v\rangle \otimes |w\rangle)\bigr) = (|u\rangle \otimes |v\rangle) \otimes |w\rangle.(2)✦

The Encoded Resource

Let CC be a quantum system, the code system, and EE a linear map from the state space of QQ to that of CC, the encoder. The unnormalised encoded resource |Φ̃E⟩|\tilde\Phi_E\rangle of EE is the vector in the state space of Q⊗CQ \otimes C given by |Φ̃E⟩=|0⟩⊗E|0⟩+|1⟩⊗E|1⟩,|\tilde\Phi_E\rangle = |0\rangle \otimes E|0\rangle + |1\rangle \otimes E|1\rangle,(3)✦ and the partially encoded resource |ΦE⟩|\Phi_E\rangle of EE is the vector in the state space of Q⊗CQ \otimes C obtained by rescaling |Φ̃E⟩|\tilde\Phi_E\rangle, |ΦE⟩=12|Φ̃E⟩.|\Phi_E\rangle = \frac{1}{\sqrt{2}}\,|\tilde\Phi_E\rangle.(4)

Pauli Byproducts

A unitary UU of a system SS is an operator on the state space of SS with U†U=UU†=1U^\dagger U = U U^\dagger = 1.✦ The identity unitary of SS is the one whose operator is 11✦, and for unitaries UU and VV of SS the composite UVUV, first VV and then UU, is again a unitary of SS.✦

The Pauli matrices are X=(0110),Z=(100−1).X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad Z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}.(5) The Pauli gates XX, the bit flip, and ZZ, the phase flip, are the unitaries of the qubit whose operators have these matrices. For bits xx and yy, the Pauli byproduct XyZxX^y Z^x is the unitary of the qubit that applies ZxZ^x and then XyX^y, where Z1=ZZ^1 = Z, X1=XX^1 = X, and Z0Z^0 and X0X^0 are the identity unitary.✦

The Claim

Theorem 1. Let CC be a quantum system, EE a linear map from the state space of the qubit QQ to that of CC, and |ψ⟩|\psi\rangle any vector in the state space of QQ. Then the vector |ψ⟩⊗|ΦE⟩|\psi\rangle \otimes |\Phi_E\rangle of Q⊗(Q⊗C)Q \otimes (Q \otimes C), regrouped as a vector of (Q⊗Q)⊗C(Q \otimes Q) \otimes C, is α(|ψ⟩⊗|ΦE⟩)=12∑x,y∈{0,1}|βxy⟩⊗EXyZx|ψ⟩.\alpha\bigl(|\psi\rangle \otimes |\Phi_E\rangle\bigr) = \frac{1}{2} \sum_{x, y \in \{0,1\}} |\beta_{xy}\rangle \otimes E\, X^y Z^x |\psi\rangle.(6)✦

What Is Checked

The claim is stated over the qubit and an arbitrary code system CC with its encoder EE: the regrouping (2) of the three systems, the Bell vectors (1), the partially encoded resource (4) and the Pauli byproducts XyZxX^y Z^x.

About these constructions the library proves that the matrices (5) are unitary, so that the Pauli gates are unitaries of the qubit, and that a composite of unitaries is a unitary, so that each byproduct is one. It proves as well that each basis state |i⟩|i\rangle is a unit vector and that a product of pure states is again a pure state, the norm of a product vector being the product of the norms.