Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Why earliest swapping is optimal

The short links in a quantum communication chain do not all become ready together. Once two neighboring links are ready, they can be joined. The earlier link must wait, and waiting damages the stored quantum information. Does always joining the neighboring pair that can be joined earliest minimize the total damage? For deterministic, instantaneous swaps with fixed readiness times, Haobo Ma and Wenlin Zhang answer yes: every chain length and every nonnegative real readiness vector is covered, with any choice among ties. A formula gives the minimum cost and measures exactly how much other merge orders waste.

The question comes from L. Kamin, E. Shchukin, F. Schmidt and P. van Loock’s 2023 paper, Section IV D 1, Eq. (41). We will first turn it into a problem about a list of numbers, then see why a local choice gives a global optimum. Precise results contains the full statements and proofs; Sources and further exploration credits the literature and explains the formal evidence.

Four numbers make a chain

Write four links in order as . Each number is the time its link becomes ready, in a common unit. The order matters: only neighboring links may merge. A pair ready at times can first merge at , incurs waiting cost , and becomes one link ready at . Thus merging replaces it by and costs .

This is the paper’s normalization of dephasing cost. The optimization below needs only waiting differences; no knowledge of quantum states or measurement theory is required. The physical model assumes that swaps succeed deterministically and take no time. It does not add failed-swap retries, memory cutoffs or extra scheduling costs.

“Earliest” compares the larger readiness time of each neighboring pair. It does not mean the smallest difference or the two smallest numbers anywhere in the list. For , the three pair readiness times are , so the earliest rule first merges the left pair.

Current listPair mergedStep costCost so far

In the second row both pairs can merge at time . Choosing instead gives subsequent costs , again totaling . This explains what arbitrary tie choices mean; it is not yet a general proof.

Suppose instead that the first merge is the middle pair . We pay and obtain . Merging and then costs another , for a total of . Why did we waste ? We can answer without listing every possible order.

A ledger for future cost

For a nonempty list , let and define

This is called a potential. Think of it initially as a ledger of the cost that still has to be paid. The paper proves that the minimum total cost is exactly . In our example, the largest time is , the neighboring maxima sum to , and the entries also sum to . Thus .

Watch the ledger along the earliest order:

Current listCost already paid plus

A single remaining link needs no further merge, so its ledger is zero. Each earliest merge removes precisely its own cost from the future ledger. The final total therefore equals the initial .

For the worse first move, , while we have already paid . Paid cost plus future cost jumps from to . That move creates an excess that cannot be undone.

Why no move can make the ledger cheaper

Merge into . The global maximum stays fixed. In the sum of neighboring maxima, only the merged pair and its immediate neighbors can change. Removing the central term and accounting for the change in the sum of entries gives

Here is the sum of increases contributed by the left and right neighbors. For a left neighbor , its contribution is . Since , this difference cannot be negative. The right side works in the same way; an absent endpoint neighbor contributes nothing.

Thus cost already paid plus remaining potential can never decrease, whatever pair we choose. For the worse first move above, the left contribution is , and the right contribution is zero. This explains exactly the extra .

Why does the earliest rule create no excess? If there is a left neighbor , earliest readiness gives : otherwise that neighboring pair could have merged earlier. Replacing by therefore leaves the left maximum unchanged. The right maximum is unchanged for the same reason. Hence an earliest step has . Only weak inequalities were used, so ties cause no exception.

Add the one-step equations. Each intermediate potential occurs once with each sign and cancels. This cancellation is the whole mechanism: every complete order costs , while every earliest order has all . There are finitely many merges; no limit or guess from short chains is needed.

The film follows the same example and its cost ledger.

Film 001 · Earliest swapping: no wasted cost · 2:57

From waiting in a four-link chain to the potential and the zero-excess earliest rule, with English narration and aligned Chinese/English subtitles.

An optimum need not be unique

The earliest rule is sufficient for optimality, but it is not necessary. Merge the last pair of first: this costs and leaves . The remaining costs can be , again totaling . That first move was not earliest, but it created no excess. In general, a complete order is optimal if and only if every step has zero slack .

These are comparisons of contraction orders in the recurrence. Earliest orders themselves can also be implemented chronologically. After a merge at time , unchanged pair readiness times are at least , and newly formed pairs contain , so they too cannot be ready earlier. Successive earliest times never go backwards; tied times allow consecutive instantaneous swaps.

Another useful check is a list of monotonically ordered times. Its neighboring absolute differences add up to the largest time minus the smallest, and the optimum is exactly that range. A singleton costs zero, as does any list whose times are all equal.

Why random readiness times benefit too

Readiness times are often random. Fix all times in one trial. The earliest rule is already no more expensive than any complete competing order in that trial. We can therefore compare trial by trial and then average, even if different links’ times are correlated.

A smaller dephasing cost corresponds to a larger retention factor , where . This function decreases with , so the trial-by-trial cost inequality also compares average retention factors. A smaller average cost alone would not usually settle such a nonlinear comparison; the strength here is optimality for each realization. Retention factors lie in , so this expectation comparison needs no finite mean-cost assumption.

If each link independently succeeds in each round with probability , its readiness round has a geometric distribution on . The paper also gives a finite-sum formula for the mean optimum. It follows by computing the tail probabilities of the largest time and the mean maximum of two neighbors; Geometric readiness times gives the full calculation.

These conclusions compare the same realized times under the same deterministic instantaneous-swap model. Changing the distribution scheme, storage convention, swap success probability or secret-key-rate objective changes the optimization problem. The result does not directly optimize secret-key rates across all repeater schemes.

The seminar follows the same argument, with precise formulas and proof details in its appendix.