qecx.ScalarRef

class qecx.ScalarRef(path)

Bases: ParametricRef

Parametric reference resolving to one value.

Accepted wherever the format admits a parametric scalar: error-correction-cycle repeat counts and element-wise decoder tag values. Produced by ref() chains reaching a scalar field; direct construction (ScalarRef("some.path")) covers paths the walker cannot reach.

Variables:

path (str) – Canonical dot-notation path addressing one scalar field of the document (e.g. "code.d").