Measure logical failure rates over distances
qec_thresholdMeasure logical failure rates over distances and physical error rates: family surface at circuit level (decoders matching, correlated or union_find; the code model P(d) = a·(p/p*)^((d+1)/2) per round fitted to the points), or color, toric or surface_capacity at code capacity. Each point gives its shots, failures, rate and standard error; below_threshold says, at each p, whether every larger distance failed less. Sealed with the service's key. Report rates with their errors: a crossing measured on few shots is not a threshold.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p | No | Physical error rates. | |
| seed | No | ||
| shots | No | Shots at each point (default 10000). | |
| family | No | surface (circuit level, the default) or a code at code capacity. | |
| rounds | No | surface: rounds (default the distance). | |
| decoder | No | surface: the decoder (default matching). | |
| distances | No | Odd distances (default 3, 5, 7). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||