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]>
60 lines
3.5 KiB
JSON
60 lines
3.5 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "zh-CN",
|
||
"area": "device",
|
||
"translation": "machine-assisted: to be reviewed by a fluent reader before it is advertised"
|
||
},
|
||
"device.by_readout": "读出误差",
|
||
"device.by_one": "单量子比特门误差",
|
||
"device.by_t1": "T1(越短越差)",
|
||
"device.map_label": "{name}:{qubits} 个量子比特、{pairs} 个耦合对,每个耦合对按其双量子比特门误差着色,每个量子比特按其{by}着色,从低到高分为五档{placed}",
|
||
"device.map_placed": ";程序放置在物理量子比特 {layout} 上",
|
||
"device.pair_tip": "耦合对 {a}–{b}:{gate} 误差 {error}",
|
||
"device.two_qubit_gate": "双量子比特门",
|
||
"device.qubit_tip": "量子比特 {qubit}{label}:读出误差 {readout},单量子比特门误差 {single},T1 {t_one} µs,T2 {t_two} µs",
|
||
"device.qubit_label": "({label})",
|
||
"device.ends": "q{logical} 最终位置",
|
||
"device.legend_pairs": "耦合对:双量子比特门误差",
|
||
"device.legend_qubits": "量子比特:{by}",
|
||
"device.legend_note": "每个色阶都取自本设备自身的数值:按分位数分为五档,最低的在前。虚线标记表示未给出数值。将指针悬停在量子比特或耦合对上可查看其数值。",
|
||
"device.as_table": "以表格显示",
|
||
"device.th_qubit": "量子比特",
|
||
"device.th_readout": "读出",
|
||
"device.th_error_1q": "单比特门误差",
|
||
"device.th_pair": "耦合对",
|
||
"device.th_error": "误差",
|
||
"device.th_gate": "门",
|
||
"device.target_label": "设备目标",
|
||
"device.none": "无:使用引擎自己的方法",
|
||
"device.colour_by": "量子比特着色依据",
|
||
"device.import": "导入…",
|
||
"device.import_title": "设备的校准快照或目标快照,可为引擎能读取的任何格式",
|
||
"device.title": "设备",
|
||
"device.run_as_on": "模拟运行于",
|
||
"device.about": "{qubits} 个量子比特,{pairs} 个耦合对 · 编译到 {basis}{costed} · 校准 {calibration}{when} · {source} · 哈希 {hash}…",
|
||
"device.costed_own": ",每个门按设备自身的门计算代价",
|
||
"device.unnamed": "未命名",
|
||
"device.when": ",{timestamp}",
|
||
"device.built_in": "内置(合成)",
|
||
"device.option": "{name} · {qubits} 个量子比特",
|
||
"device.yours": "你的(wai-quantum targets)",
|
||
"device.imported_here": "在此导入的",
|
||
"device.imported_app": "已导入 {name}({format}):{qubits} 个量子比特,保存在此应用中。",
|
||
"device.imported_browser": "已导入 {name}({format}):{qubits} 个量子比特,保存在此浏览器中。",
|
||
"device.import_failed": "无法读取该快照:{error}",
|
||
"device.placed": "放置在 {layout}{ending};{swaps} 次交换;预期成功率 {success},交换最少的方案为 {fewest}{noise}。",
|
||
"device.ending_on": ",最终位于 {layout}",
|
||
"device.placed_noise": ";{channels} 个噪声通道,历时 {ns} ns",
|
||
"device.row_target": "目标",
|
||
"device.name_calibration": "{name} · 校准 {calibration}",
|
||
"device.row_hash": "哈希",
|
||
"device.row_placed": "放置",
|
||
"device.placed_row": "位于 {layout} → {final};{swaps} 次交换;{basis} 中的 {gates} 个门",
|
||
"device.row_success": "预期成功率",
|
||
"device.success_row": "{success}(交换最少时:{fewest})",
|
||
"device.row_noise": "噪声",
|
||
"device.noise_row": "{channels} 个通道,历时 {ns} ns,其中空闲 {idle} ns",
|
||
"device.row_ideal": "与理想结果的差距",
|
||
"device.ideal_row": "总变差距离 {tvd},Hellinger 保真度 {fidelity}",
|
||
"device.model_note": "这是设备的模型,而非在设备上的运行:{model}"
|
||
}
|