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…
Guided lessons: four beginner micro-experiments (marker: guided-lessons)
TheYuchen
edfa7f5
New lib/lessons.ts + components/LessonCard.tsx — an integrated
beginner path, not a separate mode. Each lesson step rides the SAME
machinery scenario boots use (pendingRestore + autoRunAfter through
the store bridges), and every lesson run is tagged via the existing
RunRecord.scenario field ("L1"…"L4") so lesson runs never pollute
evidence pools — the theater prior-pool filter and the F6/F7/F8
pickers already exclude scenario-tagged records (comments at all
three sites now name the lesson tags too).
The four lessons, numbers grounded like scenarios are:
L1 "Measurement is sampling" — bell_state, sampled fidelity, 128
shots fresh ("why isn't it exactly 50%?"), follow-up button runs
4096 → the funnel visibly narrows.
L2 "Noise costs fidelity" — vqc_2q_small twice: statevector under
bind_zero is EXACTLY 1.0 (RY(0)+CX on |00⟩ is identity in
effect), sampled on FakeFez lands ~0.97; after the second run the
card selects both runs into Between configurations.
L…