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_mappingis"qpu_convention".If the configuration is set to follow the standard QPU controller naming convention, extend the
controllersandcomponent_groupsbased 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>__driveflux: <qubit_name>__flux
For couplers:
flux: <coupler_name>__fluxreadout: <coupler_name>__readout(if connected)
For probelines:
readout: <probeline_name>__readouttwpa: <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: