Skip to main content

Module decoder

Module decoder 

Source
Expand description

Seeded mock streaming decoder for dynamic VM runs.

This is deliberately a policy model, not a decoder. Each causal solve samples an acceptance decision and a residual output-bit error. The raw parity is treated as nominal truth; this model does not infer a physical correction from syndrome data. Accepted solves default to a 0.1% residual error and rejected solves to 10%. The confidence GAP is sampled above or below the configured threshold to match that decision. A measurement-timed solve becomes ready after the configured number of local memory rounds following its last input measurement. Factory solves use the explicit deadline reached after the runtime executes the configured physical GAP rounds. Repeated requests with the same DecodeKey return the cached decision, keeping corrected and flip outputs causally identical. Confidence acceptance does not itself restart a region; its explicit predicate owns that decision.

Structs§

DecodeKey
Identifies one observable solve in one dynamic attempt.
DecoderDecision
One inspectable mock-decoder result.
MockDecoderConfig
Tunable assumptions for the mock decoder.
MockStreamingDecoder
Seeded streaming policy model with one cached result per causal solve.

Enums§

DecoderError
Failures at the mock-decoder boundary.