The Mala Knot Lab

Check it yourself

The quantum results on the findings page come with a replication package: a protocol that defines the model and four tests exactly and asks for specific numbers, a script that implements it, and the answer key. The protocol was written so that someone who has never seen our results can produce their own and then compare. One replication has been run this way, by a second AI system working from the protocol alone.

Method

How to run it blind

✦

Give only the protocol to a person or a system: not this site, not the script, not the answer key. Ask for every quantity marked ▶, the software and method used, and one sentence per test on what the numbers show, written before any comparison. Then open the answer key and compare at the tolerances below. Implementing the model independently from the description is the stronger check; running our script is the quicker one.

If you are the replicator, do not open the answer key until you have your own numbers.

Files

The package

✦
  • replication-protocol.md
    The protocol: the model and four tests, defined exactly. No results, no predictions.
  • replicate_mala_tests.py
    A script that implements the protocol (Python 3 and NumPy, about six seconds). It contains no expected values.
  • experiment-1-two-places.py
    The original Experiment 1 run, with its figure.
  • experiment-2-four-tests.py
    The original Experiment 2 run, which produced the answer key.
  • answer-key.json
    The answer key. A blind replicator should not open it until they have their own numbers. It was kept private during the blind run and is published now, unaltered.

To run the script: python3 replicate_mala_tests.py prints its results as JSON.

Tolerances

What counts as the same number

✦
Test 1maximum of P_empty at each phasewithin 1 × 10⁻⁶
Test 2largest gap between F and F₄·F₂₇below 1 × 10⁻¹²
Test 3quantum and classical spreadswithin 1 × 10⁻⁶ (see the note below)
Test 4lowest P_start for each splitwithin 1 × 10⁻⁵
Test 4frequency counts for 54, 108, the 7-cycle and the 16-cycleequal
Test 4frequency count for the 9-cycle of 10087 or 9

The site checks itself against the same table: on every change, a test reruns the script and compares it with the answer key. The 9-cycle count is allowed to be 7 or 9 because the protocol leaves the weighting method open, and the one independent replication found 7 where our run finds 9.

One correction to the key. Its classical spread at t = 20, 6.3245414, was read off a 120-point time grid by linear interpolation; the exact value is √40 = 6.3245553, a difference of 1.4 × 10⁻⁵. A careful replication will disagree with the key there by that much, and should: the key is wrong in the fifth decimal place, not the replication. The key is published unaltered, and the site’s own test checks that spread against √40 instead.

The Protocol

Exactly what the replicator was given

✦

Shown verbatim, as it was handed over.

# Replication protocol: quantum tests on the 108-bead (4, 27) network

This is a blind replication package. It defines a model and four tests exactly, and asks for
specific numbers. It deliberately contains **no results and no predictions**. Run it, report
the numbers, and compare against the answer key held separately.

You may run the attached script `replicate_mala_tests.py` (Python 3, NumPy only), or
implement the model independently from this description. Independent implementation is the
stronger check.

---

## 1. The model

**Sites.** N = 108 sites, indexed k = 0 … 107, arranged in a closed ring (site 107 is
adjacent to site 0). Sites are referred to as "beads"; bead number = k + 1.

**Hamiltonian.** A single particle hops between sites. The Hamiltonian is a real symmetric
108 × 108 matrix H built from up to three "hopping rules", each with a strength t ≥ 0:

- **thread** (step 1): connects k to k + 1 and k − 1 (mod 108)
- **squares** (step 27): connects k to k + 27 and k − 27 (mod 108)
- **rings** (step 4): connects k to k + 4 and k − 4 (mod 108)

For each active rule with strength t and step s: `H[k, (k+s) mod 108] -= t` and
`H[k, (k−s) mod 108] -= t` for every k. All diagonal entries are 0. (Note: if two rules map
to the same neighbour, contributions add.)

**Dynamics.** The state ψ is a complex vector of length 108, normalised to 1. It evolves by
the Schrödinger equation with ħ = 1:

    i dψ/dt = H ψ        ⇒        ψ(t) = exp(−i H t) ψ(0)

Use exact diagonalisation (H is real symmetric) or any integrator accurate to better than
1e-6 over the times below.

**Probability** at site k is |ψ_k|².

**Initial states used.** A "delta" at site k means ψ_k = 1, all others 0, then normalise.

---

## 2. The four tests

Report every quantity marked ▶ to at least 4 significant figures.

### Test 1 — Relative phase between two places

- Hopping: squares only, t = 1 (thread 0, rings 0).
- Initial state: ψ_0 = 1, ψ_54 = e^{iφ}, all others 0, then normalise.
- For each φ ∈ {0°, 45°, 90°, 135°, 180°}, evolve from t = 0 to t = 4.
- ▶ Report **max over t of P_empty(t)**, where P_empty(t) = |ψ_27(t)|² + |ψ_81(t)|².
- ▶ Also report, for φ = 0°, the time of the first maximum of P_empty and its value.

### Test 2 — Factorisation of the network

- Hopping: squares t = 1 AND rings t = 1 (thread 0).
- Initial state: delta at site 0.
- Compute the return probability F(t) = |⟨ψ(0)|ψ(t)⟩|² for t from 0 to 4π (use ≥ 1500
  evenly spaced samples).
- Separately, define two smaller systems:
  - a 4-site ring with nearest-neighbour hopping t = 1 (H4[k,(k±1) mod 4] = −1),
    delta start at site 0, return probability F4(t);
  - a 27-site ring with nearest-neighbour hopping t = 1, delta start at site 0,
    return probability F27(t).
- ▶ Report **max over t of |F(t) − F4(t)·F27(t)|**.
- ▶ Report F(t) at t = π, 2π, 3π, 4π.

### Test 3 — Quantum walk versus classical walk

- Hopping: thread only, t = 1.
- Quantum: delta at site 0; evolve to t = 25. Define the spread
  σ_q(t) = sqrt( Σ_k |ψ_k(t)|² · d_k² ), where d_k = min(k, 108 − k) is the ring distance
  from site 0.
- Classical: a continuous-time random walker on the same ring, starting at site 0, hopping
  to each neighbour at rate 1: dp/dt = L p with L[k,(k±1)] = +1, L[k,k] = −2. Define
  σ_c(t) the same way using p_k(t).
- ▶ Report σ_q and σ_c at t = 5, 10, 20.
- ▶ State whether σ_q grows linearly in t or as a square root, and the same for σ_c,
  and give the fitted constant (σ ≈ a·t or σ ≈ a·√t).

### Test 4 — Other bead counts

For each N ∈ {27, 54, 108, 1008}:

- List every way to write N = p × q with 2 ≤ p ≤ q and gcd(p, q) = 1 ("coprime splits").
- For each split, build an N-site ring with a single hopping rule of step q and strength 1
  (this joins the sites into p-cycles).
- Initial state: ψ_a = 1 at a = 0 and ψ_b = 1 at b = (⌊p/2⌋ · q) mod N, normalised. If
  b = a (which happens when p = 1 — not applicable here — or by coincidence), use the delta
  at a alone.
- Evolve from t = 0 to t = 12 with ≥ 1000 samples. Define P_start(t) = |ψ_a|² + |ψ_b|²
  (just |ψ_a|² if b = a).
- ▶ Report, per split: **min over t of P_start(t)**.
- ▶ Report, per split: **the number of distinct oscillation frequencies present in
  P_start(t)** that carry more than 1% of the total oscillating weight. (Any reasonable
  method is acceptable — e.g. from eigenvalue differences of H weighted by the initial-state
  overlaps, or a spectral analysis of P_start(t) with leakage handled. State your method.)
- If N has no coprime split, say so.

---

## 3. What to hand back

A table or JSON with every ▶ quantity, plus one sentence per test stating what the numbers
show, written before looking at any answer key. Please also state: the software used, the
integration method, and the time step or sample count.

## 4. Things that must NOT be in the report

- No numbers taken from any prior discussion of this model.
- No geometry: the 3D shape of the "thread" (torus, lotus, etc.) does not appear in the
  model and must not be used. Only the hopping rules above define H.

Hardware

Run it on a quantum computer

✦

The square qubit on the findings page was also run on a real IBM quantum processor. This is a separate check from the protocol above: it writes one four-bead square as two qubits and tests the same prediction, cos²(φ/2)·sin²(2t), on a machine instead of in a simulation.

You need Python 3.10 or newer and pip install qiskit qiskit-ibm-runtime matplotlib numpy; our run used qiskit 2.5.2 and qiskit-ibm-runtime 0.49.0. Then:

  • python square_qubit_ibm.py --selfcheck
    Checks the two-qubit encoding with NumPy alone. The largest error should be near 10⁻¹⁶.
  • python square_qubit_ibm.py --ideal
    Runs the circuits on Qiskit's simulator. No account, no machine time.
  • python square_qubit_ibm.py --hardware
    Runs them on the least busy IBM machine your account can reach. Add --backend and a machine name to choose one.

An IBM Quantum Open plan account is free. Save your own key once, in your own terminal, as the script’s header shows. The whole run uses about 30 seconds of the plan’s 10 minutes of machine time a month. Each run writes a results file and a plot next to the script.

What to expect: perfect state transfer of roughly 0.90 to 0.98, depending on the machine and the day; the 0° curve peaking near t = π/4; and the 180° row a few hundredths above zero rather than at zero, which is the machine’s own error. Ours, on ibm_kingston, was 0.9815, at the top of that range, with a 0° peak of 0.9890 and a 180° mean of 0.0126. A result well outside that range is worth reporting to us at connect@dogma.guru.

The run above checks the square qubit on its own. The geometry question, whether the transfer survives on a real winding of the knot, is answered by a 108 × 108 computation instead: experiment-3-leak-geometry.py and its data, leak-test-geometry.json. No quantum hardware is needed for it.

Twenty-seven at once, and the wire

The same encoding, all 27 squares side by side on 54 qubits; then the wire, one excitation on four qubits per square, 108 qubits. Both ran on ibm_fez on September 26, 2026 (section 8 of the findings). The script is mala27_ibm.py, with the same setup as above:

  • python mala27_ibm.py --selfcheck
    Checks the 54-qubit circuits exactly with the stabilizer simulator. No account, no machine time.
  • python mala27_ibm.py --pairs
    Reads the machine's calibration and chooses 27 disjoint pairs; add --backend and a name to pick the machine.
  • python mala27_ibm.py --hardware
    Runs the four circuits on the 27 pairs as one job.
  • python mala27_ibm.py --ideal108
    For the wire: finds the fewest Trotter steps that transfer ideally (one, and it is exact). No machine time.
  • python mala27_ibm.py --groups
    Chooses 27 disjoint four-qubit paths on the chip for the wire.
  • python mala27_ibm.py --dryrun108
    Transpiles the wire without running it, to show the routing cost.
  • python mala27_ibm.py --hardware108
    Runs the wire as one job, 108 qubits.

Both jobs together used 10 seconds of the Open plan’s monthly budget. What to expect: an all-27 joint between 0.2 and 0.5, depending on the machine and the day, and always close to the product of the per-pair rates; the wire, 0.7 to 0.9 per group. Ours: 0.3045 against a product of 0.3073, and 0.8108 per group. A joint far from the product of the marginals is worth reporting to us at connect@dogma.guru.

The runner’s predictions were hashed before each job but are not blind: it had read the author’s sealed predictions by mistake, and both files say so on their first line. The author’s predictions are blind, and the scorecard marks them.

Back to the findings or the lab.

Twelve Dimensions

The knot in twelve dimensions

✦

Section 10 of the findings page places the bead pattern in 3, 4 and 12 dimensions. The script runs in about four seconds on a laptop with NumPy and Matplotlib. Who produced each file, what was checked blind and what was not, and the few edits made on publication are in the README.

The ceiling counterexample

Found by a second system (ChatGPT) on September 26, 2026, and reproduced by a third (Mantri), it defeated the first-flip ceiling as section 10 first wrote it. Take a = 2^(−1/6)/2 and h = √((1 − 2a²)/4), and the four points (±a, 0, h) and (0, ±a, −h) in cyclic order: every edge is 1 and both diagonals are 2^(−1/6), so under 1/d⁶ the couplings are [[0,1,2,1],[1,0,1,2],[2,1,0,1],[1,2,1,0]]. The eigenvalues are 4, −2, 0, −2, and the transfer from one corner to the opposite corner is exactly 1 at t = π/2. The ceiling holds when the edges are the shortest distances; here they are not.

Kickoff 10: switching off the diagonal and the neighbours

The files behind section 12 of the findings page. The run was made by ChatGPT, with its predictions frozen at 12:50:39 UTC on September 26, 2026, before anything ran. Scores: the author’s five sealed predictions, two held and three failed; the runner’s, 19 of 32 cells, 3 of 3 restoration calls and 3 of 4 qualitative statements. An exploratory counterpart by Mantri existed and was withheld from the runner until hand-back; it is not on this page because it was not blind. The author’s kickoff and its scorecard were handed over after the run; no hash of the author’s predictions was recorded beforehand, which the README says, along with why P1, first marked held, is now marked failed. The SHA-256 of each runner file is in the README and in SHA256SUMS.txt.

Kickoff 11: the flat mala

The files behind the second half of section 12 of the findings page: the 27 squares laid flat, all facing the same way, so one axis zeros every diagonal. The run was made by ChatGPT, with its predictions frozen at 16:42:19 UTC on September 26, 2026. Scores: the author’s five sealed predictions, four held and one failed; the runner’s, 58 of 73. Both runs of section 12 were blind to the author’s predictions and to the author’s exploratory pass; that exploration is not on this page because it was not blind. The author’s kickoff and its scorecard were handed over after the run; no hash of the author’s predictions was recorded beforehand, which the README says.

Back to the findings or the lab.

The Whole Curve

Every count of ring circles, 4 to 28 dimensions

✦

Section 11 of the findings page searches every one of the 8,191 sets of ring circles for the best spacing at each count. It was run twice, blind, by two different AI systems, and the two results were compared by machine before any copy was written. The exact search of all 8,191 subsets runs in under a second; the dynamics in under two. Who produced each file and how the runs were compared are in the README.

  • README.md
    Start here: who produced each file, and how the two runs were compared before any copy was written.
  • curve.py
    Run B's script (ChatGPT): exact search with ties decided as algebraic equalities; dynamics imported unchanged from knot12d.py.
  • curve.json
    Run B's output, which the page, the lab and the site's tests are checked against.
  • predictions.md
    Run B's ten predictions, written and hashed before the run.
  • report.md
    Run B's report, with every tied set and its orbit.
  • curve-runA.json
    Run A's output (a Claude session in a separate sandbox), renamed on arrival.
  • predictions-08-runner.md
    Run A's eight predictions, sealed before the run.

To rerun Run B from a copy of the folder: python curve.py --source ../twelve-d/knot12d.py. Run A’s script and the author’s own sealed predictions were not available when these files were published; the README says so.

Other Station Counts

Other station counts

✦

Kickoff 09 generalized the equal-radius circle search to station counts 29, 25, 32, 30, 26 and 27. It exhaustively searched 135,162 nonempty subsets. Every tied best set is listed, with its gcd class mix and orbit under the units modulo its station count. Equality is exact in the appropriate cyclotomic field; ordering uses certified integer intervals. No float64 fallback was used. The results are described in section 11 of the findings page.

The code was generalized from this runner’s Kickoff 08 script. No N=27 result files were read or imported. The kickoff itself supplied the N=27 landmarks, so the N=27 predictions are not independent rediscoveries. No external reference comparison is claimed for the new counts. A second exhaustive traversal within the implementation verified all optima and all tied sets. On publication, the published script was rerun from a fresh folder and reproduced every row, and a separate float64 computation written for this site agreed on every optimum, tie count, step down and endpoint; the README gives the details.

The first execution, including the initial figure rendering, took 9.450 seconds. The final execution, including the independent traversal and figure rendering, took 1.090 seconds with peak process RSS 90,750,976 bytes. The machine was an Apple M5 with 32 GiB RAM and 10 logical CPUs, running macOS 26.6.2, Python 3.14.7 and Matplotlib 3.11.2. These timings describe this run, not a performance guarantee.

Predictions

Twenty of the 24 numbered predictions held and four failed. A compound prediction is marked failed if any of its clauses failed. The separate runtime expectation (under ten minutes) and memory expectation (below 1 GiB) also held; they are not among the 24.

predictionresultmeaning
29-MFAILEDFailed: L=4→5 decreases from 0.8703454266 to 0.8688052438.
29-PHELDExact threshold-1 sizes, stated sets and adjacent plateaus: all stated clauses held.
29-THELDTie counts, uniqueness and unit-orbit structure: all stated clauses held.
29-CHELDMaximum threshold and endpoint: all stated clauses held.
25-MHELDMonotonicity and any specified decrease: all stated clauses held.
25-PHELDExact threshold-1 sizes, stated sets and adjacent plateaus: all stated clauses held.
25-THELDTie counts, uniqueness and unit-orbit structure: all stated clauses held.
25-CHELDMaximum threshold and endpoint: all stated clauses held.
32-MHELDMonotonicity and any specified decrease: all stated clauses held.
32-PHELDExact threshold-1 sizes, stated sets and adjacent plateaus: all stated clauses held.
32-THELDTie counts, uniqueness and unit-orbit structure: all stated clauses held.
32-CHELDMaximum threshold and endpoint: all stated clauses held.
30-MHELDMonotonicity and any specified decrease: all stated clauses held.
30-PFAILEDFailed: exact r*=1 also occurs at L=10 and 12, omitted from the prediction.
30-THELDTie counts, uniqueness and unit-orbit structure: all stated clauses held.
30-CHELDMaximum threshold and endpoint: all stated clauses held.
26-MFAILEDFailed: L=7→8 decreases from 0.9636241117 to 0.9292820819.
26-PHELDExact threshold-1 sizes, stated sets and adjacent plateaus: all stated clauses held.
26-TFAILEDFailed: there are two unit orbits at L=5 and 9.
26-CHELDMaximum threshold and endpoint: all stated clauses held.
27-MHELDMonotonicity and any specified decrease: all stated clauses held.
27-PHELDExact threshold-1 sizes, stated sets and adjacent plateaus: all stated clauses held.
27-THELDTie counts, uniqueness and unit-orbit structure: all stated clauses held.
27-CHELDMaximum threshold and endpoint: all stated clauses held.

The six tables

One row per number of circles L. Orbits read size×count; a class mix d:c means c multipliers with gcd d, and the ×n after it counts tied sets. Every individual tied set is in curves.json.

N = 29: 16,383 subsets, simplex ceiling √(29/28) = 1.017700
Ldimensionr*tiesunit orbitsclass mixes
140.1529031414×11:1 ×14
260.55857777×11:2 ×7
380.7810391414×11:3 ×14
4100.87034577×11:4 ×7
5120.8688051414×11:5 ×14
6140.8945081414×11:6 ×14
7160.91836122×11:7 ×2
8180.9303481414×11:8 ×14
9200.9428741414×11:9 ×14
10220.9509441414×11:10 ×14
11240.9622261414×11:11 ×14
12260.9742761414×11:12 ×14
13280.9808111414×11:13 ×14
14301.01770011×11:14 ×1
N = 25: 4,095 subsets, simplex ceiling √(25/24) = 1.020621
Ldimensionr*tiesunit orbitsclass mixes
140.1772481010×11:1 ×10
260.60630255×11:2 ×5
380.7641741010×11:2,5:1 ×10
4100.8516661010×11:3,5:1 ×10
5120.8882671010×11:5 ×10
6140.9157341010×11:6 ×10
7160.9167721010×11:7 ×10
8180.9402762010×21:7,5:1 ×20
9200.9539962010×21:7,5:2 ×20
10221.00000011×11:10 ×1
11240.98585422×11:10,5:1 ×2
12261.02062111×11:10,5:2 ×1
N = 32: 65,535 subsets, simplex ceiling √(32/31) = 1.016001
Ldimensionr*tiesunit orbitsclass mixes
140.13861788×11:1 ×8
260.54119688×11:2 ×8
380.75161988×11:1,2:1,4:1 ×8
4100.82396088×11:2,2:1,8:1 ×8
5120.87490288×11:4,16:1 ×8
6140.91287184×21:4,2:1,8:1 ×8
7160.92730188×11:7 ×8
8181.00000011×11:8 ×1
9200.94728444×11:8,2:1 ×4
10220.948683128×1, 4×11:5,2:2,4:2,8:1 ×8; 1:8,2:1,8:1 ×4
11240.95708544×11:8,2:3 ×4
12261.00000011×11:8,2:4 ×1
13280.97242322×11:8,2:4,4:1 ×2
14301.00000011×11:8,2:4,4:2 ×1
15321.00000011×11:8,2:4,4:2,8:1 ×1
16341.00000011×11:8,2:4,4:2,8:1,16:1 ×1
N = 30: 32,767 subsets, simplex ceiling √(30/29) = 1.017095
Ldimensionr*tiesunit orbitsclass mixes
140.14782644×11:1 ×4
260.58778522×13:1,5:1 ×2
380.75077422×11:2,3:1 ×2
4100.86602522×12:2,3:1,5:1 ×2
5120.89442744×11:2,2:1,6:1,10:1 ×4
6140.91287174×1, 2×1, 1×11:2,2:2,5:1,15:1 ×2; 1:3,2:1,5:1,15:1 ×4; 1:4,10:1,15:1 ×1
7160.96362411×11:4,3:2,5:1 ×1
8180.96824621×21:4,3:2,5:1,15:1 ×1; 2:4,3:2,5:1,15:1 ×1
9200.97182511×11:4,2:4,5:1 ×1
10221.00000011×11:4,2:4,5:1,10:1 ×1
11240.96252442×21:4,2:4,3:1,5:1,10:1 ×2; 1:4,2:4,3:2,6:1 ×2
12261.00000011×11:4,2:4,3:2,6:2 ×1
13280.98058142×1, 1×21:4,2:4,3:1,5:1,6:1,10:1,15:1 ×2; 1:4,2:4,3:2,5:1,10:1,15:1 ×1; 1:4,2:4,3:2,5:1,6:2 ×1
14301.00000011×11:4,2:4,3:2,5:1,6:2,10:1 ×1
15321.00000011×11:4,2:4,3:2,5:1,6:2,10:1,15:1 ×1
N = 26: 8,191 subsets, simplex ceiling √(26/25) = 1.019804
Ldimensionr*tiesunit orbitsclass mixes
140.17046566×11:1 ×6
260.58456266×11:1,2:1 ×6
380.78498722×11:3 ×2
4100.85271966×11:2,2:2 ×6
5120.891897126×21:2,2:3 ×6; 1:3,2:2 ×6
6140.95742711×11:6 ×1
7160.96362411×11:6,13:1 ×1
8180.92928266×11:4,2:4 ×6
9200.944520126×21:5,2:4 ×12
10220.95174166×11:5,2:5 ×6
11240.95484766×11:6,2:5 ×6
12261.00000011×11:6,2:6 ×1
13281.00000011×11:6,2:6,13:1 ×1
N = 27: 8,191 subsets, simplex ceiling √(27/26) = 1.019049
Ldimensionr*tiesunit orbitsclass mixes
140.16418099×11:1 ×9
260.56426899×11:1,3:1 ×9
380.79302499×11:3 ×9
4100.86428399×11:3,9:1 ×9
5120.88649999×11:3,3:1,9:1 ×9
6140.90246599×11:6 ×9
7160.925820189×21:4,3:3 ×18
8180.935866189×21:5,3:3 ×9; 1:8 ×9
9201.00000011×11:9 ×1
10220.960935129×1, 3×11:7,3:2,9:1 ×9; 1:9,3:1 ×3
11240.97700833×11:9,3:1,9:1 ×3
12261.00000011×11:9,3:3 ×1
13281.01904911×11:9,3:3,9:1 ×1

Rerunning

Download curves.py, predictions.md and predictions.sha256 into the same directory. In an environment with Python and Matplotlib, run python curves.py. Integer and Decimal arithmetic handle the geometry; Matplotlib handles plotting. The script verifies the predictions hash before and after execution and regenerates curves.json, curves.png and report.md beside itself. Run in a fresh directory to preserve the published originals. The original predictions.sha256 file contains the original workspace-relative filename; the script uses its digest field. For command-line integrity checks in the published folder, use SHA256SUMS.txt.

Back to the findings or the lab.