qat.experimental.conversion.pulse_to_q1.qblox_configuration.reconciliation module

Reconcile configuration canonical ports supply for each physical Qblox module.

A physical module has exactly one analogue configuration, but a source describes that configuration through the canonical ports exposing the module. This module reconciles those fragments into one module-wide mapping, reporting the precise field two ports disagree on, and keeps the supplied sequencer banks port-specific. This is configuration reconciliation, not a hardware-connectivity topology representation.

reconcile_configurations(hardware_view, supplied_configurations_by_resource)

Reconcile supplied configuration for every module of a Qblox hardware view.

Parameters:
  • hardware_view (QbloxHardwareView) – Derived Qblox projection of the canonical hardware.

  • supplied_configurations_by_resource (Mapping[str, QbloxSuppliedConfiguration]) – Supplied configurations keyed by external- resource identifier.

Return type:

frozendict[QbloxModuleLocation, ReconciledModuleConfiguration]

Returns:

Reconciled configurations keyed by physical module location.

Raises:

ValueError – If a port references configuration that cannot be resolved, or if two ports of one module supply conflicting module-wide values.