iqm.cpc.core.config.get_conventional_control_mapping

iqm.cpc.core.config.get_conventional_control_mapping#

iqm.cpc.core.config.get_conventional_control_mapping(chip_topology, station_control_settings=None)#

Add conventional controller mapping if controller_mapping is "qpu_convention".

If the configuration is set to follow the standard QPU controller naming convention, extend the controllers and component_groups based on the convention. Components given explicitly have priority.

The convention is that components map their functions to controller names with the following pattern:

For qubits:

  • drive: <qubit_name>__drive

  • flux: <qubit_name>__flux

For couplers:

  • flux: <coupler_name>__flux

  • readout: <coupler_name>__readout (if connected)

For probelines:

  • readout: <probeline_name>__readout

  • twpa: <probeline_name>__twpa

Parameters:
  • chip_topology (ChipTopology) – The chip topology for the QPU.

  • station_control_settings (SettingNode | None) – The station control settings. If provided, will validate the control mappings against them such that only the controllers that exist in the settings are included.

Returns:

The controller mapping, a dictionary from QPU component names to their operations and associated controller

names.

Return type:

dict[str, dict[str, str]]