Volume 7

The Buddy System and Buddy Checks

Detection is not verification

What you will learn

Why a detector click that says "success" can be wrong, how to measure that, and how the Buddy System turns the problem into a checklist. This volume contains the project's most useful result so far, and it is a cautionary one.

7.1 The idea: a buddy for every photon

In the Buddy System, a computational photon is accompanied by ancillary ("buddy") photons that are prepared, used to help an operation, and then measured. The buddies are physical resources, not magic. The Buddy System is the proposed architecture for managing them in five stages: preparation, assistance, verification, preservation and continuation.

The key word is verification. In optics a gate often works only some of the time, and a helper detector click is supposed to tell us when. But a click is a detection, and detection is not the same as verification.

In plain words

A smoke alarm that goes off sometimes when there is no fire is not much use. A "success" signal that is sometimes wrong is the same: it tells you something happened, not that things are fine.

7.2 Before, Operation, After

Every operation is described in three parts.

PartQuestionExample
BeforeWhat state is prepared, what resources are needed, are they compatible?Two photons in addresses, plus two helper photons
OperationWhat is the intended CT, how is it done physically, how can it fail?The heralded controlled-phase-flip gate of Volume 6
AfterHow well did it work, measured five ways (below)See 7.4

7.3 Buddy Checks: PASS, FAIL or UNKNOWN

A Buddy Check is a test that decides whether it is safe to continue. It has three possible answers, on purpose:

An answer is never PASS just because a detector clicked.

7.4 Five different ways to say "it worked"

People often use one word, "success", for five different numbers. We keep them separate.

MeasurePlain meaning
Herald probabilityHow often does the success signal fire?
Herald reliabilityGiven that it fired, how often is the output actually valid?
Output fidelityGiven valid output, how close is the state to the target?
AvailabilityHow often is a usable photon even there?
Continuation yieldWhat fraction of starting runs end up with a usable result you can carry on with?
Common mistake

Common mistake. Quoting herald probability as if it were reliability. The R30 result below shows how large the gap can be.

Common mistake

Encoding-basis counts alone cannot certify quantum coherence or entanglement. Joint counts can show that two properties are statistically linked, but not whether the link is quantum. The states (00 + 01 + 10 + 11)/2 and (00 + 01 + 10 − 11)/2 give the same probability, 0.25, for every address. Yet the first is separable and the second is maximally non-separable (Volume 4, section 4.8). Reading out the Tetragon address counts therefore cannot tell them apart. The same holds for a pair of Tetragons (Volume 6, section 6.7): the joint address counts of an entangled pair are identical to those of a purely classical pairing with the same address matches, which has no entanglement at all. Certifying a correlation needs measurements in other bases, in effect a state characterization, and that uses up the photons it measures DERIVED. A PASS for a correlation therefore needs more evidence than the address counts alone, which is one more reason the default answer is UNKNOWN. Correct addresses and correct probabilities can still hide incorrect quantum information, and a destructive test that passes does not show that the photon can carry on into the next operation.

7.5 The R30 result: a worked example

The R29 and R30 research packages reconstructed, in a computer model, the published heralded gate of Volume 6 and asked: when the herald fires, is the output actually the right kind of output? The model used ideal photon-number-resolving detectors SIMULATED.

For inputs where the first register is in the top address (3) and the second in a lower address (0, 1 or 2), the analyzer reported:

QuantityValue
Probability the herald fires0.375 (3/8)
Probability the output is occupancy-valid0.125 (1/8)
Probability of a false herald (fires but output not valid)0.25 (2/8)
Reliability = valid / herald1/3

"Occupancy-valid" is a narrow word. It means exactly one photon in each computational output register. It is not state fidelity and it says nothing about whether coherence survived.

For other inputs the reliability can be 100%. So "1/3" is the worst case among the inputs studied, and 100% the best.

Key idea

In this reconstruction, for some inputs the success signal was wrong two times out of three. The herald was telling the truth about something, but not about what we needed.

A herald that is wrong two times in threeA bar split into two parts. The left part, 12.5 out of 100 attempts, is correct outputs. The right part, 25 out of 100, is false alarms. Together they make 37.5 detector clicks that announce success. Only one third of those announcements are real, and keeping a subset of the detector patterns does not change that ratio.One specific input, 100 attempts of the modeled analyzer (the numbers are fractions of all attempts)12.5 correct25 false alarms37.5 detector clicks say “success”Of the 37.5 “successes”, 12.5 are real: reliability = 12.5 / 37.5 = 1/3.Keeping only some of the four detector patterns lowers the rate but leaves the ratio at 1/3.
Heralds, valid outputs and false heralds. The herald fires 3 times in 8; only 1 of those is a valid output.

What else we found

What this does not say

7.6 Long chains of operations

The same model was extended to many gates in a row (SIM-06). The results are for the ideal model with no loss SIMULATED:

Reactions in a rowFidelity given all heralds (ideal)With correlated phase drift, σ = 0.05 rad
280.0 %78.7 %
467.0 %62.8 %
848.0 %37.2 %
1624.3 %9.1 %
Fidelity falls as reactions are chainedA grouped bar chart. For 2, 4, 8 and 16 chained reactions, fidelity given that every herald fired is 80.0, 67.0, 48.0 and 24.3 percent with ideal parts, and 78.7, 62.8, 37.2 and 9.1 percent with an assumed phase drift. These are modeled values, not measurements.Fidelity given that every herald fired (percent), modeled, not measured80.078.72 reactions67.062.84 reactions48.037.28 reactions24.39.116 reactionsideal partswith assumed phase drift
Fidelity given heralds falls as the number of reactions grows, faster with correlated phase drift.

7.7 Reuse economics

If a photon can be reused, and each reuse survives with probability s, the expected number of successful reuses is s/(1 − s) DERIVED. With s = 0.95 that is 19. But survival compounds: after 10 cycles only 0.95¹⁰ = 59.87 % remain. A high per-step survival is not enough for a long computation.

7.8 The open problems

The audit items that connect to this volume (the full list is in Volume 9):

A04 and A05 are BLOCKED: a computer model alone cannot answer them.

Go deeper (optional math)

In the model, the herald is a (u,v) outcome class of auxiliary measurements. Raw herald probability is 0.375 = 3/8; occupancy-valid probability is 0.125 = 1/8, so false heralds are 0.375 − 0.125 = 0.25. Reliability is 0.125/0.375 = 1/3. The script outcome_resolved_herald_r30.py rebuilds these from the optical network, cross-checks them against two independent code paths and the saved raw data, and uses stated tolerances: 1e-10 for probabilities and 1e-12 for equalities DERIVED.

Evidence status

Evidence status. R30 numbers: SIMULATED (ideal detectors, reconstruction-specific). Diagonal false-herald operator: DERIVED. Chain tables: SIMULATED. Published gate figures: REPORTED. Nondestructive certification: BLOCKED. Hardware: MEASURED none.

Try it

  1. 1000 attempts give 375 heralds and 125 valid outputs. What is the reliability? (125/375 = 33.3 %, not 37.5 %.)
  2. Why is "37.5 %" a trap? (That is the herald probability, which is a different measure.)
  3. A friend says "the gate has fidelity 0.98 given valid occupancy, so it is nearly perfect." What did they leave out? (How often the output is valid at all, and how often the herald lies.)

Summary

Key idea

Detection is not verification. In our reconstruction the success signal fired for 3 runs in 8, and only 1 of those was valid. A Buddy Check says PASS only with evidence, FAIL when shown wrong, and otherwise UNKNOWN.