Expand description
Validation of runtime protocol and coordinator payloads.
Functions§
- validate_
data_ len - Validate that a bit vector has exactly the bytes required by its declared number of bits.
- validate_
hypergraph - Validate hyperedge probabilities, vertex references, and observable indices.
- validate_
loss - Validate structured loss sites, references, uniqueness, and acyclicity.
- validate_
outcomes - validate_
parity_ factor - Validate that every edge returned by a decoder belongs to its hypergraph.
- validate_
probability_ modifier - Validate the shape, indices, and values of a probability modifier for an
error model with
error_counterrors. - validate_
reweights - Validate loaded-graph reweight indices, probabilities, and uniqueness.
- validate_
syndrome - Validate a syndrome’s storage and size against a hypergraph vertex count.