# Loops on the time ladder: results

Run 16 November 2026 against `LOOPS_PROTOCOL.md`, frozen in commit `a7b0b3d`. The test was run once.

**Evidence label: synthetic observation.** No hardware data. The detector is the frozen version 2 rule, unchanged; nothing was tuned in this round.

## The short answer

Repeating the whole sequence with a loop counter fixes both ends of the time ladder, **but each end needs a different kind of loop**. All three registered hypotheses passed on fresh seeds.

| Kind of loop | What it fixes | Cost | Condition |
|---|---|---|---|
| 4 independent loops, ladders averaged | slow end, up to about half of one loop: period 160 went from 0.58 to **1.00** | 4× the blocks | none, but it cannot reach beyond one loop: period 320 stayed at 0.00 |
| 4 loops back to back, with a counter | slow end, about 4× further: period 320 went from 0.00 to **1.00** | 4× the time | the device must stay the same for the whole run |
| 16 triggered loops, averaged block by block | fast end: periods 10 and 20 went from 0.00 to **1.00**, even at half the amplitude (0.2 rad) | 16× the blocks | the disturbance must be locked to the trigger. An unlocked one averages away: 0.02 |

## Results (fresh seeds [12, ·], 48 per cell)

**Oscillations of amplitude 0.4 rad caught, by period in blocks:**

| Mode | Blocks recorded | 10 | 20 | 40 | 100 | 160 | 320 | 1,000 |
|---|---|---|---|---|---|---|---|---|
| one record (version 2) | 350 | 0.00 | 0.00 | 0.96 | 1.00 | 0.58 | 0.00 | 0.00 |
| independent, 4 loops | 1,400 | 0.00 | 0.00 | 1.00 | 0.98 | **1.00** | 0.00 | 0.00 |
| back to back, 4 loops | 1,400 | 0.00 | 0.00 | 1.00 | 1.00 | 1.00 | **1.00** | 0.00 |
| triggered, 16 loops | 5,600 | **1.00** | **1.00** | 1.00 | 1.00 | 0.73 | 0.00 | 0.00 |

**Weaker oscillations and the control:**

| Case | Caught |
|---|---|
| triggered, period 20, 0.2 rad | 1.00 |
| triggered, period 10, 0.2 rad | 1.00 |
| triggered but **unlocked**, period 10, 0.4 rad (control) | 0.02 |
| one record, period 20, 0.2 rad | 0.00 |

**False alarms on the in-bank mechanisms:**

| Mode | constant | jitter | linear | telegraph | random walk |
|---|---|---|---|---|---|
| one record | 0.00 | 0.00 | 0.00 | 0.08 | 0.02 |
| independent | 0.00 | 0.00 | 0.00 | 0.06 | 0.02 |
| back to back | 0.00 | 0.00 | 0.00 | 0.12 | 0.00 |
| triggered | 0.00 | 0.00 | 0.00 | 0.04 | 0.00 |

| Hypothesis | Result |
|---|---|
| LC1: independent loops reach period 160 but not 320; false alarms ≤ 0.15 | **passed** |
| LC2: back-to-back loops reach period 320 but not 1,000; false alarms ≤ 0.15 | **passed**. The telegraph rate was 0.15 on development seeds and 0.12 on test, close to the line |
| LC3: triggered loops reach periods 10 and 20, including at 0.2 rad; the unlocked control does not; false alarms ≤ 0.15 | **passed** |

![Which end each kind of loop fixes](loops.svg)

## Why each one works

- **Independent loops.** These give more samples of the same windows, so long windows become trustworthy. They cannot create windows longer than one loop: a period longer than one record never appears whole in any record.
- **Back-to-back loops.** The counter turns R loops into one continuous record R times longer, so longer windows exist. This is the same as recording for longer, and it assumes the device does not change meanwhile.
- **Triggered loops.** The loop counter is a winding record:
  - block-within-loop says *where in the cycle*;
  - loop number says *which cycle*.

  Averaging the same block across 16 loops shrinks counting noise 16-fold, while anything locked to the trigger adds up whole. The short-end amplitude law from `TIMELADDER.md` predicts a 4× smaller detectable amplitude (0.77 → 0.19 rad at period 10). The test caught 0.2 rad at periods 10 and 20, which fits the prediction but does not test the threshold precisely.

  An unlocked oscillation lands at a different point of its cycle in every loop, so averaging erases it (0.02). That is the evidence that the gain comes from the lock, not from the extra data.

## For real hardware

These are known techniques: synchronous ("triggered") averaging, epoch folding, and simply recording longer. What this run adds is a measured map of which repetition fixes which blind spot, at what cost.

- **Short end.** Repeating a sequence on a real quantum processor is routine. Fast disturbances locked to something you can trigger on, such as the mains supply or the control sequence itself, are exactly what triggered loops can expose cheaply.
- **Free-running disturbances** are not exposed this way. For those, the slow end can be extended only by recording longer, and the fast end only by more shots per block.

## Limits

- Synthetic only; the device properties stay fixed within a trial. Real devices change between loops, which back-to-back loops assume away.
- The amplitudes tested were 0.2 and 0.4 rad. The actual triggered-loop threshold was not mapped.
- The rule and loop counts are mine, chosen before the test. The development check is recorded in `loops_dev.log`.

## Reproduce

```sh
python3 loops.py --test   # about 10 s; writes loops_results.json and loops.svg
```
