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.2 KiB
JSON
60 lines
3.2 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "en",
|
||
"area": "device",
|
||
"translation": "source"
|
||
},
|
||
"device.by_readout": "readout error",
|
||
"device.by_one": "one-qubit error",
|
||
"device.by_t1": "T1 (shorter is worse)",
|
||
"device.map_label": "{name}: {qubits} qubits and {pairs} coupled pairs, each pair coloured by its two-qubit error and each qubit by its {by}, in five bins from lowest to highest{placed}",
|
||
"device.map_placed": "; the program placed on physical qubits {layout}",
|
||
"device.pair_tip": "pair {a}–{b}: {gate} error {error}",
|
||
"device.two_qubit_gate": "two-qubit gate",
|
||
"device.qubit_tip": "qubit {qubit}{label}: readout error {readout}, one-qubit error {single}, T1 {t_one} µs, T2 {t_two} µs",
|
||
"device.qubit_label": " ({label})",
|
||
"device.ends": "q{logical} ends",
|
||
"device.legend_pairs": "pairs: two-qubit error",
|
||
"device.legend_qubits": "qubits: {by}",
|
||
"device.legend_note": "Each scale is this device’s own: five bins by quantile, lowest first. A dashed mark states no value. Hover a qubit or a pair for its numbers.",
|
||
"device.as_table": "As a table",
|
||
"device.th_qubit": "qubit",
|
||
"device.th_readout": "readout",
|
||
"device.th_error_1q": "1q error",
|
||
"device.th_pair": "pair",
|
||
"device.th_error": "error",
|
||
"device.th_gate": "gate",
|
||
"device.target_label": "Device target",
|
||
"device.none": "None: the engine’s own methods",
|
||
"device.colour_by": "Colour qubits by",
|
||
"device.import": "Import…",
|
||
"device.import_title": "A device’s calibration or target snapshot, in any format the engine reads",
|
||
"device.title": "Device",
|
||
"device.run_as_on": "Run as on",
|
||
"device.about": "{qubits} qubits, {pairs} pairs · compiles to {basis}{costed} · calibration {calibration}{when} · {source} · hash {hash}…",
|
||
"device.costed_own": ", each gate costed as the device’s own",
|
||
"device.unnamed": "unnamed",
|
||
"device.when": ", {timestamp}",
|
||
"device.built_in": "Built in (synthetic)",
|
||
"device.option": "{name} · {qubits} qubits",
|
||
"device.yours": "Yours (wai-quantum targets)",
|
||
"device.imported_here": "Imported here",
|
||
"device.imported_app": "Imported {name} ({format}): {qubits} qubits, kept in this app.",
|
||
"device.imported_browser": "Imported {name} ({format}): {qubits} qubits, kept in this browser.",
|
||
"device.import_failed": "The snapshot did not read: {error}",
|
||
"device.placed": "Placed on {layout}{ending}; {swaps} swaps; expected success {success} against {fewest} for the fewest swaps{noise}.",
|
||
"device.ending_on": ", ending on {layout}",
|
||
"device.placed_noise": "; {channels} noise channels over {ns} ns",
|
||
"device.row_target": "target",
|
||
"device.name_calibration": "{name} · calibration {calibration}",
|
||
"device.row_hash": "hash",
|
||
"device.row_placed": "placed",
|
||
"device.placed_row": "on {layout} → {final}; {swaps} swaps; {gates} gates in {basis}",
|
||
"device.row_success": "expected success",
|
||
"device.success_row": "{success} (fewest swaps: {fewest})",
|
||
"device.row_noise": "noise",
|
||
"device.noise_row": "{channels} channels over {ns} ns, {idle} ns idle",
|
||
"device.row_ideal": "from ideal",
|
||
"device.ideal_row": "total variation distance {tvd}, Hellinger fidelity {fidelity}",
|
||
"device.model_note": "A model of the device, not a run on it: {model}"
|
||
}
|