The Course pane lists the 21 lessons, shows a lesson's text and exercise, loads its starter, and checks the program in the editor with the engine (engine_course_check in the page, the same commands in the desktop app): each case's verdict, each rule, What went wrong? from the diagnostics, the verdict and the critique, the hints one at a time with the engine's pointer, and a hint from the assistant when a model is connected, any program in its answer held back. Progress is kept only in this browser and says so. The interface's words are data, locales/<locale>/<area>.json for every part, English the source and Simplified Chinese marked machine-assisted; the Studio follows the browser's language until the reader picks one with the switch. test/locales.test.mjs holds every locale to every key and placeholder. The e2e checks the course in English and in Chinese. wai-web's engine tests pin 23 native and 16 wasm32, a course check the same bytes in both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
21 lines
1.3 KiB
JSON
21 lines
1.3 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "en",
|
||
"area": "examples",
|
||
"translation": "source"
|
||
},
|
||
"examples.bell_title": "Bell pair",
|
||
"examples.bell_shows": "Two qubits entangled: only 00 and 11 come up, and ⟨Z0 Z1⟩ is exactly 1.",
|
||
"examples.ghz_title": "GHZ state, 40 qubits",
|
||
"examples.ghz_shows": "A Clifford circuit past any state vector, run exactly on the stabilizer tableau: all zeros or all ones.",
|
||
"examples.rotation_title": "A rotation",
|
||
"examples.rotation_shows": "Any angle runs on the double-precision state vector: ⟨Z0⟩ = cos 0.3 and ⟨Y0⟩ = −sin 0.3.",
|
||
"examples.qft_title": "Quantum Fourier transform",
|
||
"examples.qft_shows": "The Fourier transform of a basis state on three qubits: every outcome equally likely, the information in the amplitudes' phases.",
|
||
"examples.teleport_title": "Teleportation",
|
||
"examples.teleport_shows": "A state moved from qubit 0 to qubit 2 by measurement and correction: ⟨Z2⟩ = cos 0.7, ⟨X2⟩ = sin 0.7.",
|
||
"examples.grover_title": "Grover search, 3 qubits",
|
||
"examples.grover_shows": "Two rounds of amplitude amplification find the marked item 101 with probability 0.945.",
|
||
"examples.noisy_bell_title": "A noisy Bell pair",
|
||
"examples.noisy_bell_shows": "The same pair on a device whose gates go wrong at random: 01 and 10 appear, and ⟨Z0 Z1⟩ falls below 1."
|
||
}
|