Research-development layer. Provisional and model-based. No hardware measurement exists; no physical advantage is claimed. Revision H is frozen and separate.
Original checkpoint file checkpoints/v1.0/docs/buddy-verification-v1.0.md, rendered here without any change to its text. The Markdown source is the authoritative copy (raw file). Later corrections are in Errata.

Buddy verification, version 1.0: which version 0.9 results survive photonic reality?

On this page

Project: PhaseKeep Research. Owner: Tyler O'Bryan. Written by Claude. Versions 0.1 to 0.9, Revision H and pull request #1 are preserved unchanged. Nothing here has been independently reproduced, and nothing here is a hardware result or a claim of advantage over any architecture. Physical feasibility is the central question of this version, and most of the answers below are of the form "it depends on a physical property nobody has measured for this system".

Evidence tags: DERIVED (exact within the stated model: ideal Clifford circuits plus Pauli, erasure and loss-like faults, exact Pauli-frame propagation, exact convolution of independent location faults, small state-vector simulations), ASSUMED (a rate, success probability, hosting rule or bias I chose as an example), PROPOSED (a design idea), UNVERIFIED (literature seen at title, abstract or excerpt level only), MEASURED (none), BLOCKED (needs something I do not have).

Central question: Can deliberate geometric organization and controlled transformation of photonic entanglement improve the efficiency, controllability, reliability or continuity of equivalent quantum operations? Programme question (subordinate): Can a photonic processor adapt its information geometry, verification requirements and physical execution routes in response to changing operational conditions, while achieving a measurable advantage over conventional architectures? The question version 1.0 puts: which of the version 0.9 conclusions survive when photons are lost, interactions are probabilistic, noise is biased, rounds repeat, and readout is destructive?

How version 1.0 stays comparable with 0.9. Every new mechanism has a switch that reduces to the version 0.9 assumptions. With loss, bias and incoming faults off, the new engine reproduces the published version 0.9 silent and rejection probabilities within 1% (checked), and with idle and incoming faults on it reproduces the 0.9 model M3 value. Differences below are therefore attributable to the mechanism named. Structural counts are proxies, not costs; no combined score is formed; the physical-cost fields stay empty (audit item A02); the conventional local round remains the baseline.

0. Summary

QuestionAnswer within the modelTag
Does the local geometry avoid inter-photon interactions?Not if photon detection destroys the photon. An ancilla then has to be a separate photon and every data-ancilla gate is an inter-photon gate: 4 per round (local), 8 (joint). The local advantage is a factor of 2, not a different kind of operation. A nondestructive readout would lower the counts to 0 and 4, but its feasibility is unverified and itself built from probabilistic gatesDERIVED on an ASSUMED readout rule
What do probabilistic inter-photon gates do to verification?If a failed gate aborts the round: completion probability s^n, for example 0.100 (joint) and 0.032 (flagged) at s = 0.75, and 0.0039 and 0.00024 at s = 0.5. Verification of unknown data is only usable with gates whose failure is both heralded and benign. Whether such gates exist at useful success probability is openDERIVED on ASSUMED s
Does loss change the version 0.9 ranking?Heralded ancilla loss costs rejections in proportion to ancilla resources: at 1% per photon per gate, 3.9% of local rounds, 14% of flagged rounds and 22% of verified-cat rounds are rejected by loss alone. Unheralded loss is much worse than any extraction design can fix (next two rows)DERIVED
What if ancilla loss is not heralded?Silent damage rises about 10 times (local) and about 60 times (flagged) at 1%: heralding the ancilla is worth more than the flagDERIVED
What if data loss is not heralded?A floor appears: the flagged round's silent probability at 0.1% loss is 9.7e-4, about 400 times its loss-free value (2.3e-6) and only 10 to 30% below the conventional joint round. If data loss is found at final readout, the cost is discarded runs, not wrong answersDERIVED
Is the version 0.9 ranking robust to biased noise?No. Z-biased noise favours the joint codes (local silent probability about 20 times the flagged round's). X-biased noise reverses the ranking: at bias 100 the local round beats every joint round. With biased ancillas only, the flagged round wins; with Z-biased data, conventional joint beats flaggedDERIVED on ASSUMED bias
Does repeated verification keep data safe?It slows accumulation but does not stop it, and costs runs. At p = 1e-3 over 20 rounds, 0.20% of the still-accepted flagged-joint runs are damaged (3.7% local, 7.7% with no verification), but only 64% of flagged runs are still accepted. At p = 1e-2 only 1.2% remainDERIVED
Does coherent amplification make reference preparations cheap?Yes for a constant, coherently accumulating error: d = 0.01 rad needs 119,829 single-gate runs, 48 runs with 50 gates, and 2 runs of 256 gates (512 gate uses, a factor 234), still about 2,600 times fewer gate uses at 1% stochastic noise per gate. An error that alternates in sign never accumulatesDERIVED on ASSUMED noise
Can one mechanism serve verification, computation and characterization?As a selection problem, yes: the three roles differ only in which Pauli product is measured (stabilizer, logical operator, or reference-state observable), and a stabilizer is the only kind that leaves unknown information undisturbed. Whether one physical coupler can do all three is not shownDERIVED (classification), hardware open
Does the capability report need new fields?Yes: ancilla heralding, inter-photon gate success and failure type, photons consumed, per-observable readout error, nondestructive-readout availability. Under a physical profile the Pareto sets change and can become emptyPROPOSED, demonstrated on a toy

1. Corrections and clarifications

To version 0.9. I found no numerical error in version 0.9 by re-deriving its numbers in the new engine. Two clarifications to its page: (i) its "qubits" were generic and noise was uniform, so its section 4 ranking is a statement about uniform Pauli noise only (section 5 below shows it reverses under X-bias); (ii) its section 7 selection used "unusable = rejection" and silent probability per round started, which is not meaningful when rounds can fail to complete; version 1.0 separates completion, rejection, heralding and silence.

Mistakes of mine in this version (fixed before delivery). (a) My first amplification statistics used a normal approximation that returned "1 run" for a 41% click probability; I replaced it with an exact binomial threshold test, which reproduces version 0.9's 119,829 runs. (b) I first multiplied silent probability by the completion probability in the abort profile, which made the joint rounds look better because they fail more often; I now report silent damage per completed round. (c) A variable I reused shadowed the Pauli list and crashed the program, caught at the first run. (d) One float threshold in a check was too tight.

Corrections you made earlier and I have kept. The 2025 X/Z asymmetry belongs to Microsoft's earlier device, not Majorana 2; my literature entries for Majorana below rest on secondary coverage only.

2. Literature (all UNVERIFIED unless stated; abstract or excerpt level)

TopicWhat I sawStatus
Linear-optics two-qubit gates (review arXiv:1607.03935, partial)Success probabilities quoted there: nonlinear sign shift 1/4, conditional sign from two of them 1/16, an efficient conditional sign 2/27, a postselected polarization CNOT 1/9, linear-optics teleportation Bell measurement 1/2. The review excerpt I read did not say what a failure does to the dataMy s values (1, 0.75, 0.5, 0.25, 1/9) are chosen to span these; what failure does to the data is open
Deterministic intra-photon gate (Fiorentino and Wong, quant-ph/0402208, abstract)A linear-optical CNOT between the polarization and momentum qubits of one photon, described as deterministicSupports "gates between axes of one photon can be deterministic"; no performance figures seen
Fusion-based quantum computation (arXiv:2101.09310, abstract)Entangling measurements ("fusions") on small resource states; fusions probabilistic in linear optics; one quoted figure is a ballistic scheme tolerating 10.4% photon loss in each fusionShows the field's own answer to probabilistic gates and loss; not modelled here
Measuring a photonic qubit without destroying it (quant-ph/0312048, abstract)A scheme and demonstration using linear optics and photodetection of ancillary modes, which creates a single-photon-level nonlinearity non-deterministicallySupports "nondestructive readout exists in principle" and that it is probabilistic. A published comment on it exists (quant-ph/0406120, title only seen); I did not read it
Majorana tetrons (arXiv:2507.08795, abstract; coverage of the June 2026 InAs-Pb result)2025 device: X loop 14.5 µs and Z loop 12.4 ms parity switching, assignment errors 16% and 0.5%. The newer paper is a characterization experiment reporting Z parity only (about 22 s), no gates or entanglement; critics dispute topological identity; the June 2026 criticism by Legg concerns the 2025 Nature paperUsed only as a prompt for per-observable readout error; no Majorana claim is relied on

3. What the model adds

4. Feasibility structure and probabilistic gates (priorities 1 and 2)

Inter-photon two-qubit gates per round under destructive readout (ancilla photons consumed in brackets), K ancilla qubits per ancilla photon:

RoundTotal 2q gatesK = 1K = 2K = 5Nondestructive lower bound
Local conventional44 (2)4 (2)4 (2)0
Joint conventional88 (2)8 (2)8 (2)4
Joint flagged1212 (4)8 (2)8 (2)4
Joint verified cat1818 (10)14 (6)8 (2)4
Joint cooperative, verified1414 (6)12 (4)8 (2)4
ZZZZ only (partial joint)44 (1)4 (1)4 (1)2

Consequences. A flag that shares its ancilla's photon costs no extra inter-photon gates, but needs a second axis on that photon. A cat ancilla needs many axes per photon to approach the joint conventional count. Completion probability s^n for n inter-photon gates (K = 1):

Roundns = 0.75s = 0.5s = 0.25s = 1/9
Local conventional40.3160.06253.9e-31.5e-4
Joint conventional80.1003.9e-31.5e-52.3e-8
Joint flagged120.0322.4e-46.0e-83.5e-12
Joint verified cat180.00563.8e-61.5e-116.7e-18

Expected inter-photon gate attempts per completed round at s = 0.5: 30, 510, 8,190 and 524,286 if a failure aborts and restarts the round; 8, 16, 24 and 36 if failures are benign and retried. Negative result: the gap between those two columns is the whole feasibility question. If a failed gate disturbs a data photon, joint verification of unknown data is not usable at s below about 0.75, and the flagged round is worse than the conventional one by the same factor again.

5. Loss, bias and readout (priorities 1 and 3)

Loss (gate faults p = 1e-3; q per photon per two-qubit gate; data loss latent; ancilla loss heralded, h = 1). Survival of data through a round (4 data participations local, 8 joint) is 0.9606 and 0.9227 at q = 1e-2. Rejections from heralded ancilla loss at q = 1e-2: 0.0388 (local), 0.0746 (joint), 0.1381 (flagged), 0.2160 (verified cat). Usable rounds (accepted and no data loss): 0.918, 0.847, 0.783, 0.701. Silent probability barely moves (5.1e-4, 2.5e-4, 2.0e-6, 7.6e-6).

Variant at q = 1e-2Local silentJoint silentFlagged silent
Ancilla loss heralded5.1e-42.5e-42.0e-6
Ancilla loss unheralded5.4e-35.1e-31.2e-4
Data loss unheralded, silent probabilityq = 1e-3q = 1e-2q = 5e-2
Local1.5e-39.9e-33.7e-2
Joint conventional1.2e-39.1e-32.9e-2
Joint flagged9.7e-48.2e-32.4e-2
Joint verified cat9.5e-47.3e-32.1e-2

Reading: heralding of loss matters more than extraction design. If data loss is found only at final readout, it costs discarded runs; if it can masquerade as a valid state, it sets a floor that none of the extraction methods removes.

Bias (silent probability per round, p = 1e-3, version 0.9 model M3, b multiplies the biased Pauli):

NoiseLocalJoint conv.Joint flaggedVerified catZZZZ onlyLowest
Uniform (version 0.9)1.1e-24.0e-43.9e-41.9e-38.5e-3flagged
Z-biased, all, b = 1003.2e-21.5e-31.4e-35.6e-32.6e-2flagged
X-biased, all, b = 1004.0e-41.4e-31.3e-35.5e-33.8e-4ZZZZ only / local
Z-biased data only, b = 1003.2e-27.5e-41.3e-36.1e-32.5e-2joint conventional
X- or Z-biased ancillas only, b = 1001.0e-2 to 1.1e-26.1e-4 to 6.3e-43.9e-4 to 4.1e-41.5e-3 to 2.6e-37.9e-3 to 9.3e-3flagged

This reverses the version 0.9 ranking for X-dominated noise (consistent in direction with version 0.8's workload result) and shows that a flag helps when the ancilla's own hook is the problem, not when the data's idle Z faults are. It supports choosing a configuration from a noise-bias estimate, which is cheap in principle: reference preparations can estimate bias.

Readout asymmetry (illustrative factor): with X-basis readout flipping 30 times as often as Z-basis readout, flagged rejection rises from 0.0161 to 0.0723 and its silent probability about 2.6 times; conventional joint rejection from 0.0086 to 0.0373; the local round and the ZZZZ-only partial round, which use Z-basis readout only, do not change. An IQA that knows per-observable error can offer the partial check.

6. Repeated verification and accumulated damage (priority 4)

Incoming faults p per axis per round plus the round's own faults (M2), exact, a rejected round ends the run. "Damaged" = accepted and left with a detectable or silent data error.

p = 1e-3, R = 20Still acceptedAccepted and damagedDamaged given acceptedSilent
Local conventional0.8330.0313.7%3.0e-2
Joint conventional0.7460.00570.77%4.1e-3
Joint flagged0.6440.00130.20%1.1e-4
Joint verified cat0.4640.00140.30%1.8e-4
No verification1.0000.0777.7%(joint code) 7.6e-4

Silent damage accumulates almost linearly in R (15 to 20 times the one-round value over 20 rounds). At p = 1e-2 over 20 rounds only 1.2% of flagged and 0.05% of verified-cat runs are still accepted (16% local). Detect-and-reject verification is unusable for long computations at that fault rate, whatever the extraction design.

7. Coherent amplification with reference preparations (priority 5)

Repeating the gate N times turns a constant angle error d into Nd, so the reference click probability is exactly sin²(Nd/2) (state-vector check). Runs for 95% detection, at most 5% false alarms (exact binomial threshold; at no stochastic noise this is version 0.9's criterion), with stochastic error probability eps per gate use flipping the outcome with probability 1/2 (ASSUMED):

d (rad)epsN = 1 runsBest NRunsGate usesSaving in gate uses
0.010119,8292562512234 times
0.011e-38,887,59125651,2806,943 times
0.011e-288,127,04112826834,3042,569 times
0.03013,31464319269 times
0.101,1981658015 times

Your 50-gate example reproduces (48 runs, 2,400 gate uses at d = 0.01); larger N does better still. Limits: the amplified signal grows 4 times when N doubles for a coherent error and 2 times for a stochastic one (a usable test for which is which); an error that alternates in sign on successive uses does not accumulate (click probability 4e-15 after 50 uses); the sequence must be a repeat of the same operation, so it characterizes the apparatus, not an individual unknown state; other coherent errors amplify too and are not separated from the one wanted.

8. One measurement mechanism, several purposes (priority 6)

For both codes the 255 non-identity Pauli products split into 3 stabilizer elements, 60 logical operators and 192 that anticommute with a check. Measured on random code-space states: a stabilizer product has a certain outcome and leaves the state untouched (fidelity 1.000, which is what verification needs); a logical product has a random outcome and disturbs the state (post-measurement fidelity 0.57 to 0.61, which is computation, or a reference measurement on a reference state); a product that anticommutes with a check also takes the state out of the code. The cheapest member of each class: stabilizer weight 2 (local) or 4 (joint), logical weight 1 or 2.

PurposeObservable classNote
Structural verificationStabilizerThe only class that does not disturb unknown information
Computation by measurementLogical operatorDeliberate disturbance; the V0.8 finding that XXXX is a logical operator of the local code is an instance
Apparatus characterizationAny, on a reference stateNot on unknown data
Heralding, ancilla readinessObservable of the ancilla itselfA stabilizer of the cat state in the verified cat

What this supports: "the same coupler, a different selected observable" is a coherent design statement; IQA's job is to select the class. What it does not show: that one photonic coupler can implement weight-4 products, weight-2 logical products and reference analysis without separate hardware. Whether to define Buddy by purpose rather than by components stays open.

9. Capability report version 2 and selection under physical profiles (priority 7)

PROPOSED row fields (values from this page; physical_cost stays empty): silent probability per completed round, unusable fraction (rejected, heralded, lost, aborted), inter-photon gate attempts per completed round, ancilla photons consumed, single-axis coverage, completion probability, plus the declared physical parameters (p, q, s, failure type, K, readout availability).

Profile (ASSUMED)Requirement A: silent ≤ 1e-4, unusable ≤ 20%Requirement B: silent ≤ 1e-3, attempts ≤ 12
P0 ideal (version 0.9)flagged jointlocal, joint conventional, flagged, ZZZZ-only
P1 loss 1e-2, ancilla heraldednothing feasible (flagged unusable 0.218)same four
P2 s = 0.5, benign failures retriednothing feasiblelocal, ZZZZ-only
P3 s = 0.75, failures abortnothing feasiblelocal, ZZZZ-only

"Nothing feasible" goes back to GEA or IQA to relax the requirement, change geometry or add heralding. Completion probabilities at P3: 0.316 (local, ZZZZ-only), 0.100 (conventional joint), 0.032 (flagged), 0.0056 (verified cat).

10. What I expected and was wrong about

11. Limits

12. Suggestions (PROPOSED)

  1. Add to the capability report: ancilla-loss heralding fraction, inter-photon gate success and failure type (benign or destructive), ancilla photons consumed, per-observable readout error, nondestructive-readout availability, and the declared noise bias.
  2. Make heralding of loss an explicit requirement in IQA, ahead of extraction sophistication.
  3. Let GEA choose local or joint from an estimated noise bias, using reference preparations (amplified where the error is coherent) as the estimator; treat the choice as a hypothesis to test, not a result.
  4. Run apparatus characterization as amplification sequences: IQA specifies the sequence and expected outcome, Controlled Transformation executes it, Buddy measures the deviation.
  5. Keep Buddy's architecture open. The classification supports a shared mechanism with a selected observable; the feasibility evidence points the other way for the gates it would need.
  6. Next (version 1.1 candidates): a gate-level model of one heralded two-photon gate with explicit failure types; per-time loss; the conversion under the physical model; a full read of the photonic-gate and fusion literature; independent reproduction.

13. Reproduction

python3 -I code/buddy_v10_checks.py (standard library only; about 30 seconds). Last line ALL PASS; 29 checks. Parts: A regression to version 0.9; B hosting; C probabilistic gates; D loss; E bias and readout; F repeated rounds; G amplification; H shared mechanism; I capability report 2; J result checks and engine validation.