boulderopalscaleup.QctrlScaleUpClient.update_frames

*async* QctrlScaleUpClient.update_frames(frames)

Update the frequencies of multiple frames on the device.

This method is used to update the frequencies of frames on the device, which can be necessary after changes to the device or to ensure that experiments are run with the most up-to-date information about the device’s frame.

Parameters

frames (list [ tuple [ str , float ] ]) – A list of tuples containing the name of the frame and the new frequency to set in Hz. e.g. [(“q0_frame”, 5e9), (“q1_frame”, 5.1e9)]

Returns

The job ID associated with the frame update.

Return type

JobId

Raises

  • ScaleUpClientError – If the client was initialized without a runtime, or if no current device is set.
  • ScaleUpServerError – If the job fails to start.

Was this useful?