"These problems test whether you can maintain family-level reasoning in the presence of tempting shortcuts. Treat them like short design-review scenarios rather than isolated exam items.\n"
" The correct answers are the ones that preserve structure, interface clarity, and evidence all at once. If an option sounds attractive because it ignores one of those burdens, it is probably setting up a later failure.\n"
"quiz_block([{'prompt': 'Which change directly changes the hidden string implemented by a BV oracle?', 'options': ['Changing which query wires control the ancilla', 'Renaming the classical register', 'Adding a plot title'], 'correct_index': 0, 'explanation': 'The secret is the connectivity pattern into the ancilla.'}, {'prompt': 'What is the strongest description of the BV oracle?', 'options': ['A structured parity-like query on the input bits', 'A random entangling layer', 'A measurement-only gadget'], 'correct_index': 0, 'explanation': 'BV is organized around a structured linear rule.'}], heading='Oracle Structure')\n"
"quiz_block([{'prompt': 'Which statement is most defensible about bit order?', 'options': ['It can be ignored as long as counts look stable', 'It is part of the API between the circuit and the reader', 'It matters only in cloud execution'], 'correct_index': 1, 'explanation': 'If the learner cannot defend the mapping, the result is not well engineered.'}, {'prompt': 'What kind of bug is a reversed-secret report?', 'options': ['An interface bug that can mask a correct oracle', 'A hardware-only bug', 'A plotting bug with no circuit significance'], 'correct_index': 0, 'explanation': 'Interface bugs are still design bugs.'}], heading='Bit Order And Reporting')\n"
"quiz_block([{'prompt': 'What is the professional value of recognizing BV as a motif?', 'options': ['You can reuse its structure when a task asks for hidden linear information in a circuit', 'You can stop learning other algorithms', 'You can avoid using classical post-processing forever'], 'correct_index': 0, 'explanation': 'The goal is transfer, not mere memorization.'}, {'prompt': 'What survives when the secret string changes?', 'options': ['The global circuit pattern and decoding logic', 'Only the exact same oracle wiring', 'The need to measure the ancilla'], 'correct_index': 0, 'explanation': 'The family structure is what matters.'}], heading='Reusable Motif')\n"
"quiz_block([{'prompt': 'Which review note is strongest?', 'options': ['The code runs, so the oracle is fine', 'The secret-bit mapping is hidden behind index tricks, so the builder is hard to verify', 'Please use more barriers so it looks quantum'], 'correct_index': 1, 'explanation': 'Review should target what makes the circuit auditable or opaque.'}, {'prompt': 'What evidence should accompany a claim that a BV notebook is correct?', 'options': ['Several secrets, explicit oracle definitions, and counts matched against the intended reporting order', 'A single screenshot of one circuit', 'Only a statevector plot with no explanation'], 'correct_index': 0, 'explanation': 'Correctness here includes structural, interface, and empirical evidence.'}], heading='Review Judgement')\n"
" A recurring anti-pattern in quantum notebooks is the 'works for my secret' builder. It runs for one hand-picked example, but it is too opaque or too brittle to support variation. That anti-pattern is especially dangerous in a module like Bernstein-Vazirani because the whole point is that a clean family builder should exist. The problems notebook is therefore asking for something stronger than one successful run. It is asking whether your explanation survives secret changes, interface changes, and review pressure.\n"
"The multiple-choice format is only the surface. Underneath it, the notebook is testing whether your explanation can survive small shifts in phrasing, emphasis, and review context. If your understanding is robust, the wording can change and the same mechanism will still come into focus. If your understanding is fragile, the wording change will tempt you back into vague or prestige-based answers. That is why these problems matter.\n"
"A common failure mode at this stage is to answer with something broadly true but locally weak. For example, saying that a circuit uses superposition or interference may be accurate, yet still fail to identify what role a specific block is playing in the present design. The goal of the problems notebook is to eliminate that kind of vague correctness and replace it with circuit-specific explanation.\n"