Recovering a superposition after two qubits are lost
Sandbox Physics ·
A five-qubit code can recover an unknown quantum state after any two known sites are erased. It preserves the relative phase as well as the populations. The information resides in joint correlations. Constructing a small code gives boundary reconstruction a meaning that we can calculate and test one step at a time.
To distribute an unknown quantum state, making several spare copies might seem natural. Perfect copying of arbitrary unknown states is forbidden. An encoding instead embeds the input in a larger joint state. One site can look completely random even though a suitable group of sites retains everything.
Call the encoding V. It maps the two-dimensional logical space into the thirty-two-dimensional space of five physical qubits. Its basis states become ∣0L⟩ and ∣1L⟩. Orthogonal normalized codewords preserve the inner product of every superposition. Such a map is an isometry. The allowed encoded states occupy a two-dimensional subspace inside the larger physical space.
V∣0⟩V†V=∣0L⟩,V∣1⟩=∣1L⟩=I
An isometry can increase dimension. A decoder only needs to invert it on the code subspace.
Pauli X exchanges zero and one. Pauli Z leaves the zero amplitude unchanged and reverses the sign of the one amplitude. A tensor product of five such operators acts on five separate sites. The following four stabilizer generators commute and square to the identity.
A code state is unchanged by every stabilizer: it lies in their common positive-one eigenspace. The projector (I+Sj)/2 keeps the positive part of a state and removes the negative part. These four independent conditions each halve the dimension, leaving 32/24=2 dimensions.
Begin with the all-zero basis state, apply all four projectors and normalize. This produces ∣0L⟩. Flip all five sites to obtain ∣1L⟩. The first has positive eigenvalue under the product of five Z operators; the second has negative eigenvalue, so they are orthogonal. This procedure constructs the encoding without guessing a list of thirty-two amplitudes.
For a complete worked example, choose ∣ψ⟩=(∣0⟩+i∣1⟩)/2. Its zero and one probabilities are equal, but its relative phase distinguishes it from the equal real superposition. Its Pauli expectation values are (0,1,0). Erase sites one and three, called region E. Sites two, four and five form the surviving region A.
Erasure traces out E. It sums over all four erased basis states without selecting a measurement outcome. Define Ae=⟨e∣EV. The channel below computes the surviving state. Only that reduced density matrix and the known erased positions enter the decoder. The decoder receives no copy of the input.
The code obeys Ae†Af=δefI/4. Consequently the eight vectors 2Ae∣i⟩ are orthonormal: two choices of i times four choices of e. They define a unitary change of basis UA on the three surviving qubits. In this basis, their state factors into the logical input and a four-dimensional maximally mixed auxiliary state.
Apply UA† and discard the auxiliary factor. The recovered matrix is exactly the input matrix, including its imaginary off-diagonal entries. The recovered Y expectation remains one, and the fidelity is one. Agreement of the zero and one probabilities alone would miss this phase-sensitive test.
NE(ρ)=e=0∑3AeρAe†
Each Kraus matrix has eight rows and two columns. It maps the logical input into the surviving three-qubit space.
This is an explicit decoder for the correctable erasure. The Lab uses the Petz transpose channel, which gives the same recovery on encoded outputs, and evaluates it on the actual reduced matrix.
Represent one logical operation on different regions
A decoder also tells us how to perform a logical operation using only the surviving region. Change basis on A, apply the desired operation to the logical factor, then change back. The resulting physical operator OA acts on every encoded state as though we had operated on the input before encoding.
Changing the erased pair can produce another physical operator on a different region. These operators agree on the code subspace. Their action on other physical states may differ. Multiple boundary representations are therefore a precise statement about a specified set of states.
(OA⊗IE)V=VO
The final encoding map specifies the subspace on which the equality holds. Removing it would assert an equality on a larger space that recovery does not provide.
Any three sites suffice, but any two alone contain no input information. Erase site five as well. The density matrix of sites two and four is always maximally mixed, independent of input phase or population. Their decoder cannot distinguish the possible inputs.
The implemented recovery returns I2/2, with fidelity 1/2 against every pure input. This also clarifies why recovery does not clone. Five sites cannot contain two disjoint three-site recovery regions. The regions overlap and cannot be handed to two separate decoders as independent registers.
Known erasure also gives the decoder useful location information. This distance-three code corrects two known erasures or one arbitrary unknown single-qubit error. These are different tasks with different information available to the decoder.
Use one tensor as a building block
Draw the logical input as one more leg and the encoding becomes a six-leg tensor. Entangle the logical input maximally with a reference qubit. The resulting six-qubit state is maximally entangled across any three-against-three partition. Such a tensor can be read as an isometry in several directions, up to normalization, and is called perfect.
The HaPPY model places these tensors on a pentagon tiling of hyperbolic space and contracts neighboring legs. Larger networks connect subregion recovery with minimal cuts. Our single building block makes the distribution of quantum information explicit. Continuum field operators, dynamics and geometry require further structure. The next chapter returns to continuous geometry and asks how quantum entanglement corrects an area-only entropy formula.
Choose Protect a relative phase and predict the three components. Turn Input relative phase from π/2 to −π/2, a positive to negative quarter-turn, and compare input and recovery.
Choose Two sites lost and erase another pair. Explain why success for one input is weaker than preserving the whole code subspace.
Choose Too little survives and vary the population angle. Save a simulation record and use the actual surviving and decoded matrices to explain where the information was lost.
Exercises and explanations
Equal real and imaginary superpositions both give zero and one probabilities of 1/2. Why is agreement of those probabilities insufficient?
Read the explanation
Their off-diagonal matrix entries differ. The real superposition has X=1; the imaginary superposition has Y=1. Complete dephasing preserves both populations but removes both expectation values. Test phase-sensitive components or the full density matrix.
Why does checking all four logical matrix units test preservation of arbitrary entanglement with a reference?
Read the explanation
The four units ∣i⟩⟨j∣ span every two-by-two matrix. Expand any joint state in them, with reference operators as coefficients. A linear channel that preserves each unit also preserves the entire joint state.
Why do two three-site recovery regions not yield two independent copies?
Read the explanation
They overlap and both require control of shared physical sites. Decoding one region acts on those shared systems and changes the state and correlations needed by another independent attempt.
The course derives its worked examples and draws its own schematics. The numerical references recalculate specified analytic geometry and a finite five-qubit encoding. The source locations below distinguish those calculations from theoretical reading topics.
Section 2 defines perfect tensors; Appendix A.1, equations (30)–(32), supplies the five-qubit code. We construct one tensor from its stabilizers and recalculate known-erasure recovery. The browser does not build the many-pentagon network or reproduce its greedy thresholds.
Sections 3–4: the code-subspace interpretation of bulk reconstruction and quantum secret sharing. Used for the conceptual operator discussion, not claimed as a numerical reproduction of a CFT.
Keep reading
What this page links to directly
You are hereRecovering a superposition after two qubits are lost