autoresearch-quantum/notebooks/learning_objectives.md
saymrwulf e13a3268c2 Add teaching notebooks, widget-based quizzes, bug fixes, and expanded tests
- 8 Jupyter notebooks across 3 learning plans (A: bottom-up, B: spiral, C: parallel tracks)
- Teaching toolkit (src/autoresearch_quantum/teaching/) with ipywidgets-based
  quiz, predict_choice, reflect, and order widgets — visually distinct from code cells
- Fix spectator_z operator: was {1:'Z',2:'Z'} (IZZI, expectation=0), now {1:'Z',3:'Z'}
  (ZIZI, expectation=+1 for ideal T-state, commutes with logical operators)
- Fix u_magic seed: swap phase arguments to match h_p and ry_rz preparations
- Fix double-display bug: widgets rendered twice when function returned the box
- Fix CLI override parser for negative integers and missing '=' validation
- Fix stabilizer detection quiz: ZZZZ detects X errors, not Z errors
- Add ties parameter to order() for questions with interchangeable items
- Expand test suite from 21 to 107 tests
- Update README with notebook instructions and project tree
2026-04-07 17:14:37 +02:00

3.6 KiB

Learning Objectives — Derived Per Notebook Section

Each objective has a Bloom level and a matched assessment type.

Plan A — Notebook 01: Encoded Magic State

Section Learning Objective Bloom Level Assessment Type
1. Single-qubit T-state Know the T-state formula and its phase Remember MCQ
1. Single-qubit T-state Understand why T-state is non-Clifford Understand Predict-then-verify
2. Three seed styles Know that different gates can produce the same state Remember MCQ
2. Three seed styles Understand global phase irrelevance Understand Free response
3. Why encode Understand the no-cloning motivation Understand MCQ
4. Encoder circuit Read a quantum circuit diagram Apply MCQ
5. Full preparation Predict amplitudes of the encoded state Understand Predict-then-verify
6. Stabilizer verification Know stabilizer eigenvalue condition Remember MCQ
6. Stabilizer verification Compute stabilizer expectation from amplitudes Apply Numerical
7. Error detection Predict which stabilizer detects which error Understand Predict-then-verify
7. Error detection Analyse the error detection table Analyze Concept sort
8. Encoder comparison Evaluate trade-offs between encoder styles Evaluate Free response
9. Verification circuits Understand role of ancilla qubits Understand MCQ
10. Ideal simulation Predict ideal simulation outcomes Understand Predict-then-verify
11. Postselection Understand postselection purpose Understand MCQ
11. Postselection Apply postselection to filter data Apply Code challenge

Plan A — Notebook 02: Measuring Progress

Section Learning Objective Bloom Level Assessment Type
1. Noise intro Know types of quantum errors Remember MCQ
2. Logical operators Compute parity of a bitstring Apply Numerical
3. Magic witness Understand the witness formula components Understand MCQ
3. Magic witness Compute witness from given expectation values Apply Numerical
4. Scoring formula Understand quality/cost trade-off Understand Predict-then-verify
5. Parameter sweeps Analyze which parameters matter most Analyze Free response
6. Failure modes Evaluate when the code fails to help Evaluate MCQ

Plan A — Notebook 03: The Ratchet

Section Learning Objective Bloom Level Assessment Type
1. Incumbent/challenger Understand the ratchet guarantee Understand MCQ
2. Ratchet steps Predict whether a challenger wins Understand Predict-then-verify
3. Search strategies Compare NeighborWalk vs RandomCombo Analyze Concept sort
4. Lessons Evaluate lesson quality Evaluate Free response
5. Cross-rung Understand propagation purpose Understand MCQ
6. Full rung Create an experiment spec Create Code challenge

Plan B — Spiral Notebook

Pass 1: Remember/Understand (MCQ + predict) Pass 2: Apply/Analyze (numerical + concept sort) Pass 3: Evaluate/Create (free response + code challenge)

Plan C — Track A: Physics

Focus on Remember + Understand (stabilizer algebra, Bloch sphere, Eastin-Knill)

Plan C — Track B: Engineering

Focus on Apply + Analyze (noise, transpilation, cost model)

Focus on Analyze + Create (strategies, lesson extraction, design)

Plan C — Dashboard

Focus on Apply (interactive parameter exploration)