/rulake-ruqu:ruqu-qec-schedulefrom rulake-ruqu
Plans surface-code QEC overhead for a logical circuit: computes code distance, physical qubit footprint, syndrome rounds, and estimated runtime given a noise budget.
Ships in rulake-ruqu. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Wraps the ruqu_qec_schedule MCP tool. Plans surface-code QEC overhead before you commit to running on noisy hardware.
1e-121e-3) — assumed per-gate physical error"surface") — currently only "surface"/rulake-substrates:ruqu-qec-schedule circuit='{"qubits":2,"gates":[{"H":0},{"CX":[0,1]}]}' target_logical_error_rate=1e-12 physical_error_rate=1e-3
{
"code_distance": 17,
"physical_qubits_per_logical": 578,
"total_physical_qubits": 1156, // 2 logical × 578
"syndrome_rounds": 50,
"estimated_runtime_us": 5000,
"witness": "b1f4..."
}
This is planning, not execution — the answer tells you whether the circuit fits in the QEC overhead budget your hardware can sustain. The full execution path lands when ruqu_simulate --backend hardware is wired to a real device.
7-day visitors to each command page
5 commands in this plugin
/ruqu-optimize/rulake-substrates:ruqu-optimizeruQu — circuit-optimization pass (gate cancellation, commutation, T-count reduction). Returns the optimized circuit + a new witness pinned to the optimization parameters./ruqu-replay/rulake-substrates:ruqu-replayruQu — replay a circuit on a different backend with the same seed and verify the witness chain holds. Useful for confirming Stabilizer-fast vs StateVector-exact agree on a Clifford circuit./ruqu-simulate/rulake-substrates:ruqu-simulateruQu — simulate a quantum circuit on the chosen backend (StateVector / Stabilizer / TensorNetwork / Hardware-stub). Returns the witnessed final state, sample counts, and decision trace./ruqu-verify/rulake-substrates:ruqu-verifyruQu — recompute the witness for a previously-recorded simulation result and compare. Refuses on mismatch with `RUQU_WITNESS_MISMATCH`.npx claudepluginhub ruvnet/rulake --plugin rulake-ruquOther plugins' commands for the same job