qat.experimental.system_data.hardware.qblox.view module
Read-only Qblox projection of canonical installed hardware.
PuRR signal-path materialisation attaches a typed PortReference to each Qblox
port resource while preserving the source payload. This module consumes that identity
as authoritative; it does not infer hardware from names or interpret configuration.
The projection groups canonical ports, local oscillators, and calibrated channels by
physical module for later compiler layers.
- class QbloxHardwareView(acquire_limit, modules=frozendict.frozendict({}))
Bases:
DerivedViewInterface[CanonicalSystemData]Installed modules and canonical bindings used by Q1 configuration resolution.
The view owns immutable records and does not retain its canonical parent. Its module- oriented shape is the stable input expected by later allocation and Q1 configuration layers.
- Parameters:
acquire_limit¶ (
int) – Canonical runtime acquisition limit.modules¶ (
Mapping[QbloxModuleLocation,QbloxModuleView]) – Installed modules indexed by physical location.
Create an immutable view from already-projected module records.
-
acquire_limit:
int
- property channel_bindings: Mapping[str, QbloxChannelBinding]
Return projected calibrated channels indexed by canonical identifier.
- classmethod derive(canonical_data, **kwargs)
Project typed Qblox extensions from validated canonical system data.
- Parameters:
canonical_data¶ (
CanonicalSystemData) – Canonical system data produced by a validating materialiser.kwargs¶ (
Any) – Unused derived-view compatibility arguments.
- Return type:
- Returns:
An immutable module-oriented projection.
-
modules:
frozendict[QbloxModuleLocation,QbloxModuleView]
- property oscillator_bindings: Mapping[str, QbloxOscillatorBinding]
Return projected local oscillators indexed by canonical identifier.
- property port_bindings: Mapping[str, QbloxPortBinding]
Return projected ports indexed by canonical identifier.