boulderopalscaleup.QctrlScaleUpClient.get_device_data

*async* QctrlScaleUpClient.get_device_data(device_name=None)

Get latest data for a device.

Parameters

device_name (str or None , optional) – The name of the device. Defaults to the current device.

Returns

Object containing information about the QPU and the classical hardware controller.

Return type

DeviceData

Raises

  • ScaleUpClientError – If the device name is not set.
  • ScaleUpUserError – If the device is not found.
  • ScaleUpServerError – If the response from the server is invalid.

Was this useful?