qecx.ParametricRef¶
- class qecx.ParametricRef(path)¶
Bases:
objectDot-notation reference to another field of the same document.
Serializes raw as
{"ref": path}and is never replaced by its resolved value when a document is written; consumers resolve it when reading the owning section. References of the same class are equal exactly when their canonical paths are equal, and hash accordingly.Attribute access extends the path into new frozen nodes. A node of this base class addresses a structured field and is an intermediate step of a chain only: document fields accept the
ScalarRefandSequenceRefsubclasses, never the bare base class, so an unfinished chain is rejected at the type level.- Variables:
path (str) – Canonical dot-notation path addressing a field of the document (e.g.
"code.d","qubit_layout.cell_complex.faces.*.color").