qec_decode_benchmark
Metered ($0.005): Deterministic Union-Find and lightweight MWPM-approx syndrome decoder benchmark on DEM + explicit syndromes or seeded shots.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dem": "<dem>"
},
"name": "qec_decode_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dem | Yes | Stim .dem v1.15 detector error model text. | |
| seed | No | Deterministic Mulberry32 PRNG seed (default 0). | |
| shots | No | Simulated shots in [1, 50000] when syndromes omitted (default 1000). | |
| decoder | No | Decoder algorithm: uf, mwpm-approx, or both (default uf). | |
| syndromes | No | Optional explicit 2D binary detector syndrome rows. | |
| observables | No | Optional explicit 2D binary observable flip rows matching syndromes. |