Quantum Computing Master Course — 188. Entanglement Distillation
Lesson 188: Entanglement Distillation
Smartyfy Quantum Computing Master Course
Objectives and prerequisites
Calculate a simple entanglement-distillation recurrence, account for consumed pairs and acceptance, and identify the noise assumptions behind its improvement. Prerequisites are Bell states, mixed states, CNOT, conditional measurement, and classical communication. The worked protocol addresses one specific Bell-diagonal bit-error model with ideal local operations.
Concentrating quality from multiple imperfect pairs
Entanglement distillation uses several imperfect shared states, local quantum operations, and classical communication to produce fewer, better entangled states under suitable conditions. The allowed operations are often abbreviated LOCC: local operations and classical communication. Alice cannot directly apply a joint gate to Bob’s distant qubit, but each can act on their own local systems and compare classical outcomes.
Higher conditional quality does not create unlimited entanglement for free. Some input pairs are measured and consumed, some trials are rejected, and useful entanglement measures obey appropriate average monotonicity constraints. Report output quality together with success probability and yield.
Fidelity in this lesson means F = ⟨Φ+|ρ|Φ+⟩ with target |Φ+⟩ = (|00⟩ + |11⟩)/√2. It is a target-specific overlap. A different perfect Bell state can have zero fidelity with Φ+ while still being maximally entangled, so fidelity to this one target is not a universal entanglement measure.
Specify the input noise model
Assume each independent input pair is ρF = F|Φ+⟩⟨Φ+| + (1 − F)|Ψ+⟩⟨Ψ+|, where |Ψ+⟩ = (|01⟩ + |10⟩)/√2. This describes a Bell bit error and no phase-error component. Alice and Bob share two identically distributed independent copies.
Label one pair source and the other target. Alice applies a CNOT from her source qubit to her target qubit, and Bob does the same locally. They measure both target qubits in Z and compare the two classical outcomes. They retain the unmeasured source pair only when the target outcomes agree.
The target measurement reveals whether the two pairs have the same bit-error label. It does not directly measure the source logical amplitudes in the Z basis. This parity-check structure is why an entangled source can survive the procedure rather than being reduced to a known product state.
| Input Bell labels | Probability | Retained source |
|---|---|---|
| Φ+, Φ+ | F² | Accept Φ+ |
| Φ+, Ψ+ or Ψ+, Φ+ | 2F(1 − F) | Reject |
| Ψ+, Ψ+ | (1 − F)² | Accept Ψ+ |
Worked recurrence and resource yield
The acceptance probability is pacc = F² + (1 − F)². Among accepted cases, the probability of the desired source state is Fnew = F²/[F² + (1 − F)²]. For F = 0.8, acceptance is 0.64 + 0.04 = 0.68 and the conditional fidelity is 0.64/0.68 = 16/17 ≈ 0.941176.
Each attempt consumes two input pairs and produces at most one retained pair. In a large independent ensemble, the expected output count per input pair is pacc/2 = 0.34. Equivalently, the mean input-pair cost per retained output is 2/pacc ≈ 2.941176, ignoring local-operation, communication and storage costs.
The improvement condition is easy to verify algebraically. For 1/2 < F < 1, Fnew exceeds F. At F = 1/2 the fidelity remains one half; at F = 1 it remains one. If F is below one half, this particular target choice becomes worse, although exchanging the known Bell labels can change which state is treated as the desired target.
A second successful distillation level, applied to independently prepared outputs with fidelity 16/17, gives fidelity 256/257 ≈ 0.996109. This is a statement about the conditional state model. It does not mean one original pair can be improved repeatedly without consuming additional comparable pairs.
Why phase errors require another analysis
The recurrence above is not a universal formula for arbitrary noisy entanglement. Suppose the mixture instead contains Φ+ and Φ− phase errors. The same bilateral bit-parity check can accept every branch while combining phase labels, so the output Φ+ weight can be F² + (1 − F)². At F = 0.8 this is 0.68, below the original 0.8.
This counterexample shows why naming the entire Bell-state distribution matters. More general protocols use basis changes, additional checks, recurrence variants, hashing, or error-correcting-code ideas to address different error components. Imperfect local gates can impose thresholds and limit attainable fidelity even when the ideal recurrence improves it.
Correlations between input pairs also matter. The probabilities F² and (1 − F)² relied on independent copies. Two pairs that always share the same error label can pass the check without providing the claimed update. A single-pair fidelity number does not describe all multi-pair noise structure.
Distillation in a network or security protocol
In a repeater network, distillation trades extra elementary pairs and waiting time for better links before or after swapping. Memories can decohere while enough pairs are collected. The best scheduling choice depends on generation rates, local errors, memory capacity, and the application fidelity requirement.
In security proofs, entanglement-distillation arguments can provide a conceptual route to key secrecy. A proof may reduce an entanglement-based construction to a prepare-and-measure protocol. That mathematical connection does not require users to run the exact distillation circuit in every practical key-distribution implementation.
Not every entangled state in every dimension is distillable under every allowed operation class. Avoid inferring a general possibility theorem from this simple two-qubit mixture. State the input family, operation assumptions, target, success flag and output rate.
Executed four-qubit check
The standalone script explicitly forms each pure Bell-product branch, applies Alice’s and Bob’s local CNOTs, and sums accepted target-measurement branches. It compares the resulting conditional fidelity with the recurrence. This is an ideal local four-qubit circuit simulation, not a physical entanglement experiment.
import math
def bell(error):
return [1/math.sqrt(2) if x in ((0,3) if error==0 else (1,2)) else 0 for x in range(4)]
def cx(v,c,t):
out=[0j]*len(v)
for x,a in enumerate(v):out[x^(1<<t) if (x>>c)&1 else x]=a
return out
F=.8;accepted=good=0.0
for e1 in (0,1):
for e2 in (0,1):
weight=(F if e1==0 else 1-F)*(F if e2==0 else 1-F)
source,target=bell(e1),bell(e2)
v=[source[x&3]*target[x>>2] for x in range(16)]
v=cx(cx(v,0,2),1,3)
for target_outcome in (0,3):
branch=v[4*target_outcome:4*target_outcome+4]
accepted+=weight*sum(abs(a)**2 for a in branch)
good+=weight*abs((branch[0]+branch[3])/math.sqrt(2))**2
expected=F*F+(1-F)**2
assert abs(accepted-expected)<1e-12
assert abs(good/accepted-F*F/expected)<1e-12
print('Accepted probability:',accepted,'Conditional plus-Bell fidelity:',good/accepted)
print('Ideal four-qubit unitary and projective-branch simulation; no hardware.')
Four worked exercises
-
Compute one-round acceptance and fidelity for F = 0.75.
Solution. Acceptance is 0.75² + 0.25² = 0.625. The conditional fidelity is 0.5625/0.625 = 0.9.
-
How many output pairs are expected from 1000 independent input pairs grouped into 500 attempts at F = 0.8?
Solution. The expectation is 500 × 0.68 = 340 retained pairs. The actual count fluctuates, and local operations were assumed perfect.
-
Why does a perfect Ψ+ state have zero Φ+ fidelity without being unentangled?
Solution. The Bell states are orthogonal, so their overlap is zero. Ψ+ is nevertheless maximally entangled; target fidelity and entanglement amount are different concepts.
-
Why can two perfectly correlated error labels invalidate the recurrence?
Solution. The joint branch probabilities are no longer products of the single-pair probabilities. Equal-label pairs may always pass, so independence-based conditional improvement need not occur.
Five explained multiple-choice questions
-
Which operation class is used in the worked protocol? A. Local operations plus classical communication. B. A direct nonlocal CNOT between Alice and Bob. C. Local operations with no comparison of measurement outcomes. D. Postselection based only on one party’s target outcome.
Answer: A. Each party gates only local qubits and compares target measurement results classically.
-
What is the acceptance probability in the declared bit-error model? A. F alone. B. F² + (1 − F)². C. 2F(1 − F) only. D. One for every F.
Answer: B. Equal Bell bit-error labels pass, while differing labels are rejected.
-
What must accompany a reported fidelity increase? A. Acceptance probability and consumed resources. B. Only fidelity conditioned on successful trials, without their frequency. C. Input-pair count while treating every attempted pair as retained. D. An assumption that rejected trials never occurred.
Answer: A. Conditional quality can improve while useful output count falls.
-
Why is the formula not valid for arbitrary Bell noise? A. Fidelity to one Bell target fully specifies every Bell-diagonal mixture. B. The bit-parity check also removes all phase errors automatically. C. Different error components propagate differently through the check. D. Local operations cannot ever improve conditional fidelity.
Answer: C. The calculation assumed only a specific bit-error mixture and independent copies.
-
At F = 0.8, what is the conditional output fidelity? A. 0.68. B. 16/17. C. 0.34. D. 0.64.
Answer: B. The desired accepted weight 0.64 is divided by total acceptance 0.68.
Pitfalls and summary
Distillation trades many imperfect resources for fewer improved ones. Track the full noise model, independence, acceptance and local-operation quality. Conditional fidelity improvement is meaningful only alongside resource yield and the intended entangled target.
Primary sources and further study
These sources support the definitions and context. The numerical examples, exercises, and explanations here were prepared for this lesson. Research papers are optional advanced reading.