Walked all 10 steps live against an explorable-explanations rubric
(interaction-first, predict-then-check, misconception counters, honest
feedback). Three fixes fell out; the physics itself audited clean.
- Step3Bell: seed 20260703 opened the linked pair with FIVE 11s in a
row, so "always the same side" read as "always 11". Seed 20260708
shows both sides within two clicks (00 11 00 11...) and, once
broken, a first-click disagreement (01) with all four cells filling
inside ten draws. Comment records the choice so it stays chosen.
- Step3Phase: the apply-H caption said the needles "snapped" — the
track's collapse verb — for a deterministic gate move, blurring the
very gate-vs-measurement line the step draws. Now they swing
(CircleState's own word for gate motion).
- Step4Noise: in noisy mode before any misread, the score line read
"100% — on a perfect machine it is 100%", which sounds broken. It
now says what is true: no misreads yet; noise strikes per look,
not ever…
Learn track, part B3: scale + Deutsch steps, the 10-step ladder (marker: learn-scale)
TheYuchen
6746262
Step6Scale.tsx — qubit-count stepper 1..30: up to 5 qubits the wall
draws the actual 2^n arrow slots; beyond, a log-scale bar + plain
count with modest anchors (10 a spreadsheet, 20 a photo's pixels,
30 a laptop's RAM — no hype), then the honesty turn as a readout
funnel: 2^n arrows in, n bits out per look; cross-link chips to the
interference and Deutsch steps (StepProps gains optional goToStep).
Step7Deutsch.tsx — the payoff game: seeded mystery coin-rule box;
classical verdict locked until TWO queries; the quantum act stages
the real Deutsch circuit over 4-slot AmpBars (ghost routes on the q0
mix), reads the verdict certain in ONE question, replayable; honesty
card scopes the claim (structure, not universal speed).
LearnLab frame reordered to the final ladder — lean, measure, gates,
phase, interference, Bell (moved unchanged), scale, Deutsch, noise,
certainty; entry copy de-counted (tour/board/TopBar said "six");
docs paragraph updated to the final ladder.
Learn track, part B2: "Waves that cancel" + signed amplitude bars
TheYuchen
bf4e707
learn/AmpBars.tsx — the arrow picture: one signed bar per outcome
(up=+ / down=-, height=|amplitude|), odds kept SEPARATE as a thin
overlay bar + %, so arrows-are-not-odds is visible; optional dashed
ghost route-arrows; bars animate through zero via scaleY.
Step4Interference.tsx — H·H on |0> as a <->-stepped three-frame story
(never autoplay); the last frame shows the two routes into each
outcome as ghosts (into 1: one +, one -, merging to zero); a Z toggle
between the H's flips the hidden sign and the cancelling swaps sides
(certain 1), in place. Glossary gains `interference`.
Learn track, part A2: "The hidden direction" (frame step 4 of 7) + Step2 Z upgrade
TheYuchen
ba81ce9
New CircleState.tsx — the honest Bloch slice: a full circle, needle =
current physical state (stateAngle), poles 0/1, sides "fifty-fifty,
plus-way / minus-way"; the key visual is the needle's SHADOW on the
vertical axis with % labels — two different points cast the same
50/50 shadow. Read-only: gates move it, fingers don't.
New Step3Phase.tsx (file names are stage names; the frame's STEPS
array is the only source of order): Act 1 — |+> and |-> prepared via
shown recipes [H] and [X,H] measure as twins (same distribution; the
copy never claims identical counts). Act 2 — one H to both: left
snaps to 0, right to 1, with certainty; a gate separates what
measurement never could. Act 3 — THE SPHERE: pseudo-3D SVG, drag to
rotate around the vertical axis or auto-slow-rotate (reduced-motion
holds a fixed angle), our great circle highlighted with the four
labeled points; the sideways directions are more of the same hidden
dial (phase).
Step2Gates: Z chip ("sign flip — does nothing you can SEE …
Learn track, part A1: scientific audit fixes + toy sim grows Z and stateAngle
TheYuchen
f1c44e4
Audit (copy vs the exact sim):
- shots gloss: "repeated measurements" implied re-asking one qubit;
now "prepared and measured from scratch" (each shot is a fresh
preparation).
- step 0 caption "holds: a lean" foreclosed phase — the lean is the
measurement distribution, not the whole state; it now reads "a
first approximation; step 4 refines it".
- Dial docstring updated (the gates step's wire end moves to the
full circle in part A2; the semicircle can only show leans).
Sim: applyZ1 (diag(1,-1) — the sign flip, still REAL, so the exact
real-amplitude subset stays exact) and stateAngle (the circle
convention: |0> top, |+> right, |1> bottom, |-> left; Bloch angle
doubling; global sign modded out — unphysical). Glossary gains
phase and amplitude.
Node lane asserts the new physics: Z|+>=|->, H|->=|1>, ZZ=I,
HZH=X, all four angle conventions, global-sign invariance, and the
reachable-set truth: from |0> the X/H/Z words generate a dihedral
orbit of 8 signed pairs at 45-degree mult…
Learn from zero, part 2: steps 3-5 + handoff (marker: learn-complete)
TheYuchen
d70dffe
Step3Bell "Two qubits, one fate": the fixed Bell recipe on two wires
(BellRecipe.tsx, read-only SVG), two dials whose needles snap TOGETHER
on every draw, and a 2x2 PairGrid (the Tally idiom folded into the
fourfold table) where only 00/11 ever populate — a certainty claim the
exact sim licenses. "Break the link" swaps CX for H(x)H (NOT mere
deletion, which would pin q1 at 0) so all four cells fill as the
honest independent contrast; both marginal dials read 50% in both
modes — only the joint tally reveals the link.
Step4Noise "Real machines misread": same recipe + grid, a perfect/
noisy machine switch (applyReadoutNoise, seeded) with an eps slider
(0-15%): 01/10 leak warn-tinted counts and the live agreement score
(reported pair == drawn pair; ~88% at 6% noise since both bits must
survive) is fidelity in miniature, bridged to the Noisy simulator
block by name.
Step5Certainty "How many looks is enough?": the noisy agreement score
becomes the estimand, drawn as a live mini funnel in t…
Learn from zero, part 1: exact toy sim + LearnLab frame + steps 0-2 (marker: learn-lab)
TheYuchen
2af5086
lib/quantumToy.ts: tiny EXACT simulator over REAL amplitudes ([a,b] /
[a00..a11]) — exact quantum mechanics for the lesson gate set X/H/CX
(real matrices keep |0...0> in the real subspace), so H·H|0> returns
|0> by sign cancellation and Bell is exactly half/half. Complex phases
are deferred, not denied (module header states the stance); seeded rng
(mulberry32), probs/measureOnce/measureMany/applyReadoutNoise.
Asserted in scripts/check_quantum_toy.test.ts (plain-node lane).
components/LearnLab.tsx: the beginner track BEFORE the guided lessons
— full center-column overlay (same pattern as board/theater, z-30 in
App <main>, both branches), own header (step k of 6, prev/next,
progress dots, ×), progress in localStorage quda.learnLabStep. Copy
rules enforced by the frame: one bold idea sentence + one guiding
line + one interactive per step; percentages only, no formulas.
components/learn/: Dial (semicircular lean control — drag, keyboard,
snap-to-pole collapse animation), Tally (counts_to…