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/v0.6/docs/buddy-verification-v0.6.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 0.6

On this page

Status: working draft for review. Ideal-model mathematics and a stated Pauli-fault model only. Not part of Revision H and separate from pull request #1. Builds on version 0.5 (not repackaged); v0.1 to v0.5 stay as earlier checkpoints.

Evidence tags: DERIVED (checked by code/buddy_v06_checks.py inside the stated model), ASSUMED (a parameter or modelling choice, not measured), PROPOSED (an idea or a test, not done), UNVERIFIED (supplied or remembered, and not checked), MEASURED (none exist). Physical cost fields are deliberately empty because no defensible apparatus parameters exist (audit item A02).

Central research question (unchanged): Can deliberate geometric organization and controlled transformation of photonic entanglement improve the efficiency, controllability, reliability or continuity of equivalent quantum operations?

Program question: 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?

1. What was done

The question moved from "how well does a Buddy detect errors" to "does the way an operation is implemented decide whether a check is compatible with it". Six studies, 33 checks, one stdlib program, all ALL PASS (under a second). Same encoding as before: diagonal, |0> = |00>, |1> = |11>, check ZZ, parity ancilla.

PartStudyResult DERIVED
1Compatibility map of implementationsTwo implementations of the same logical operation can differ in verification compatibility. The Hadamard built from rotations generated by ZI and XX never leaves the code. The Hadamard built from CNOT, H, CNOT leaves it midway, and a fixed ZZ read there is amplitude-dependent. The valid check on that interval is a different one (section 4).
2Check-slidingAn ideal check slides past a gate exactly when the gate commutes with ZZ. With faults, sliding changes which faults are covered. Past a CNOT the check has to be moved, not slid (section 5).
3Error propagationDamage size is invariant under later unitaries. Detectability is preserved relative to the transported check. A logical Z fault through a logical X rotation becomes a mix of Z and Y, so it is no longer a Pauli (section 6).
4Rejected versus accepted accumulationEqual at first order, very different in consequence (section 7).
5Spacing across noise sweeps, productivity in separate unitsThe best spacing moves from sparse at low noise to dense at high noise. Checking pays in computation used at moderate noise and not at high noise (section 8).
6Conditions for concurrent verificationNecessary mathematical condition only: the gate generator commutes with the check observable (section 9).

2. How to read it

3. Corrections and refinements to earlier statements

  1. "Z-type errors commute through everything" (my v0.5 reply) was too broad. A Z-type fault commutes with ZZ, so the ZZ check cannot see it. It does not commute with every computational operation. Through a logical X rotation by theta, a logical Z fault becomes cos(theta) Z_L plus or minus sin(theta) Y_L. It stays undetected by ZZ and stays a logical error, but it is a Pauli only when theta is a multiple of pi/2.
  2. A limit of the v0.5 chain model, not stated there: it treats a fault as a Pauli frame that stays a Pauli. That is exact for idle and Clifford segments and not exact for generic logical rotations. The v0.5 spacing comparison holds for Clifford or idle segments. For generic rotations the right measure is state-dependent overlap with the ideal output.
  3. The CNOT implementation of the Hadamard is not "incompatible with parity". Relative to a fixed ZZ check its midpoint is amplitude-dependent. Relative to the transported check it is a valid code with check Z on axis b. That is a different extraction circuit, and a different geometry (an edge) for that interval. It is compatible, restricted to a moved check.
  4. v0.5 section 9 said a PASS goes stale with the number of operations. That still holds. The within-circuit timing window of v0.4 is the same idea at one check.

4. Compatibility map (PART 1 DERIVED; physical cost unquantified)

Working analytical table, not a new subsystem or glossary term. All six implementations return the correct logical operation and end in the code (checked as code block equal to the target up to a global phase).

ImplementationFixed ZZ check along the pathTransported check along the pathCheck-slidingPhysical cost
Z via Z on one axisPreserved throughout (A)ZZYesUnquantified
S via ZI rotation by pi/2Preserved throughout (A)ZZYesUnquantified
X via XX rotation (coupled)Preserved throughout (A)ZZYesUnquantified
X via X on a, then X on bFully odd between the two flips, for every input (B)ZZ, then -ZZ, then ZZYes, with an expected-parity updateUnquantified
H via Rz, Rx (XX), Rz generator rotationsPreserved throughout (A)ZZYesUnquantified
H via CNOT, H on a, CNOTOdd weight |alpha - beta|^2 / 2 midway (C)ZZ, then Z on axis b, then ZZRestricted: the check is movedUnquantified

The generator-built H needs a coupling between the two axes of one photon (XX rotation). Its cost is unquantified (v0.3: H from a diagonal encoding needs an entangling gate).

5. Check-sliding and its limits (PART 2 DERIVED)

6. Error propagation (PART 3 DERIVED)

7. Rejected versus accepted accumulation (PART 4 [DERIVED in the model])

Faults that are caught (ancilla X, loss) leave accepted-correct = (1 - g)^m and nothing wrong is accepted. Harmful ancilla phase faults leave accepted-correct = (1 + (1 - 2g)^m) / 2, tending to 1/2, and the rest are accepted and wrong. For small g the two remove the same amount at first order. The difference is that one wastes a run and the other delivers a wrong answer.

gmRejected-type accepted-correctPhase-type accepted-correctPhase-type accepted and wrong
0.0011000.90480.90930.0907
0.0015000.60640.68380.3162
0.0101000.36600.56630.4337
0.0105000.00660.50000.5000

8. Spacing across noise sweeps and productivity (PART 5 [DERIVED in the model; parameters ASSUMED])

T = 8 segments, z = 0.001, ancilla X fault 0.002, harmful ancilla Z fault 0.003, loss 0.002. Results per accepted-correct result, in separate units. A wrong output is assumed identifiable at the end. No combined score.

Flip rate xPolicyAccepted-correctWrong among acceptedRunsSegmentsBuddy interactions
0.005unchecked0.90970.09031.108.790
0.005spacing 8 (one check)0.90340.02041.118.861.11
0.010unchecked0.84280.15721.199.490
0.010spacing 40.82850.02491.219.282.32
0.020unchecked0.72910.27091.3710.970
0.020spacing 20.69520.03391.4410.225.11
0.050unchecked0.50350.49651.9915.890
0.050spacing 1 (every segment)0.41000.05962.4413.9613.96
0.100unchecked0.33550.66452.9823.840
0.100spacing 10.17330.12535.7725.2625.26

(Each checked row is the spacing with the lowest wrong share among accepted for that flip rate; the full sweep of four spacings is in the program output.)

9. Conditions for concurrent verification (PART 6 [DERIVED necessary condition; physical concurrency unproven])

U_ext is exp(-i pi P_odd (x) P_minus), a function of ZZ and the ancilla only. For a gate generated by a Pauli string, the gate generator commutes with the check Hamiltonian exactly when it commutes with ZZ: ZI, IZ, ZZ, XX, XY and YY do, a single-axis X does not. When the generators commute, applying them together equals applying them one after the other. That is the mathematical starting condition for "check during the gate". It is not evidence that hardware can do it: the check and the gate still act on the same axes, and the parity interaction, its readout and its faults are not modelled.

10. On verifying the preparation (PROPOSED reading of the design idea, with limits that are DERIVED)

The design idea: verify the structure that every valid state in a geometry must have, without reading what was prepared. In this model that is the parity property: it holds for every logical 0, 1 or superposition, and the ancilla ends independent of the amplitudes (v0.4, v0.5). Operations that preserve it let the check move along the sequence without changing the ideal computation (section 5).

What it does not establish:

11. Status of Buddy capabilities

CapabilityStatus
Ideal error detectionSupported within model
Repeated verificationSupported within model
Selective verification benefitShown for example parameters
Implementation-dependent compatibilityDerived (section 4)
Check-slidingDerived for ideal gates; with faults it changes coverage
Reusable ancillary resourcesSupported within model (v0.5)
Adaptive verificationProposed
Concurrent verificationNecessary condition only
Physical nondestructive implementationUnresolved
Advantage over conventional architectureUnestablished

12. Prior art and sources (none read)

Stabilizer codes and checks, quantum nondemolition measurement, verified state preparation and fault-tolerant extraction are established topics [UNVERIFIED, from memory; nothing was looked up in this version]. The question about how a check follows a Clifford operation (the stabilizer is transported) is standard in that literature UNVERIFIED. Earlier title-only references are in versions 0.4 and 0.5.

13. Limits

14. Next study (PROPOSED)

  1. Independent reimplementation (Codex) of all 33 checks.
  2. A compatibility map over more logical operations and implementations, and over the two-photon case (v0.3 section 10).
  3. The full Buddy accounting with moved checks and propagated faults together (sections 5 and 6).
  4. Verified ancilla preparation versus fault-tolerant extraction (they address different faults, v0.5).
  5. Interaction and readout requirements for a path-based auxiliary axis.

15. Pending

PALADIN, Docked Scheduling and resource-class name checks; the third-axis decision; independent reproduction; the v0.3 to v0.5 Pending lists.