exa.core.experiment.utils.setting_utils.add_move_detuning_to_implementations

exa.core.experiment.utils.setting_utils.add_move_detuning_to_implementations#

add_move_detuning_to_implementations(settings, observation_handler, computational_resonators)#

Set the detuning parameter in MOVE gate calibration data for all implementations and loci.

This function is temporary helper to be used until we can rely on the detuning parameter having been set by calibration experiments.

First we look for a detuning observation in observation_handler. If not found there, we use (qubit drive frequency - resonator frequency) if both are found in settings. That failing, detuning is set to zero.

FIXME All “move” gate implementations must have a detuning parameter for this to work. Find a better way.

Parameters:
  • settings (SettingNode) – settings tree to add detuning to

  • observation_handler (ObservationHandler) – source for the possible detuning observation

  • computational_resonators (list[str]) – computational resonators on the QPU

Return type:

None