import { useState } from "react"; import { gloss } from "../../lib/glossary"; import { TipIcon } from "../TipIcon"; import { Dial } from "./Dial"; /** * Step 0 — "A bit that can lean." Side-by-side contrast: a classical * bit is a switch that SNAPS to 0 or 1 (nothing in between exists), * a qubit is a dial whose needle can rest anywhere on the arc. The * lean is lifted state (LearnLab owns it) so the SAME dial position * carries into step 1, where measurement collapses it. */ export function Step0Lean({ lean, setLean, }: { lean: number; setLean: (p: number) => void; }) { const [bit, setBit] = useState<0 | 1>(0); const pct = Math.round(lean * 100); return (