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]>
25 lines
1.6 KiB
JSON
25 lines
1.6 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "zh-CN",
|
||
"area": "state_views",
|
||
"translation": "machine-assisted: to be reviewed by a fluent reader before it is advertised"
|
||
},
|
||
"state_views.amp_label": "概率 {p},相位 {phase}π",
|
||
"state_views.prob_label": "概率 {p}",
|
||
"state_views.amps_label": "这一步的振幅",
|
||
"state_views.col_state": "态",
|
||
"state_views.col_amplitude": "振幅",
|
||
"state_views.col_probability": "概率",
|
||
"state_views.col_phase": "相位",
|
||
"state_views.amps_note": "列出了 {nonzero} 个非零基态中的 {listed} 个(基态共 {of} 个);纯度 {purity}{mixed};摘要 {digest}…",
|
||
"state_views.mixed": "(混合态:只有概率,没有振幅)",
|
||
"state_views.bloch_label": "量子比特 {qubit}:Bloch 矢量 ({x}, {y}, {z}),长度 {length}",
|
||
"state_views.qubit_label": "量子比特 {qubit}:读到 1 的概率 {prob},纯度 {purity}",
|
||
"state_views.caption": " p(1) {prob} · 纯度 {purity}{twin}",
|
||
"state_views.without_noise_z": " · 无噪声时 z {z}",
|
||
"state_views.choose_qubits": "最多选择六个量子比特,查看它们的约化态。",
|
||
"state_views.rho_label": "量子比特 {qubits} 的约化密度矩阵",
|
||
"state_views.rho_note": "量子比特 {qubits}(第一个为最高位):纯度 {purity},熵 {entropy} 比特。图中显示每个矩阵元的大小;悬停可查看其值。",
|
||
"state_views.without_noise": "无噪声时 {p}",
|
||
"state_views.overlay_note": "条形表示有噪声态的概率;每个标记表示同一路径上无噪声态的概率。与它的保真度为 {fidelity}。"
|
||
}
|