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.5 KiB
JSON
21 lines
1.5 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "zh-CN",
|
||
"area": "examples",
|
||
"translation": "machine-assisted: to be reviewed by a fluent reader before it is advertised"
|
||
},
|
||
"examples.bell_title": "Bell 对",
|
||
"examples.bell_shows": "两个相互纠缠的量子比特:只会出现 00 和 11,且 ⟨Z0 Z1⟩ 恰好为 1。",
|
||
"examples.ghz_title": "GHZ 态,40 个量子比特",
|
||
"examples.ghz_shows": "一个超出任何态矢量能力的 Clifford 线路,在稳定子表上精确运行:结果要么全为 0,要么全为 1。",
|
||
"examples.rotation_title": "一个旋转门",
|
||
"examples.rotation_shows": "任意角度都可以在双精度态矢量上运行:⟨Z0⟩ = cos 0.3,⟨Y0⟩ = −sin 0.3。",
|
||
"examples.qft_title": "量子傅里叶变换",
|
||
"examples.qft_shows": "三个量子比特上一个基态的傅里叶变换:每个结果出现的可能性都相同,信息全在振幅的相位里。",
|
||
"examples.teleport_title": "量子隐形传态",
|
||
"examples.teleport_shows": "通过测量和校正,把一个态从量子比特 0 移到量子比特 2:⟨Z2⟩ = cos 0.7,⟨X2⟩ = sin 0.7。",
|
||
"examples.grover_title": "Grover 搜索,3 个量子比特",
|
||
"examples.grover_shows": "两轮振幅放大以 0.945 的概率找到被标记的项 101。",
|
||
"examples.noisy_bell_title": "有噪声的 Bell 对",
|
||
"examples.noisy_bell_shows": "同样的一对量子比特,放在门会随机出错的设备上:出现了 01 和 10,⟨Z0 Z1⟩ 也降到 1 以下。"
|
||
}
|