Workloads
A workload is a unit of work to be executed on Pasqal Cloud Services infrastructure.
Create a workload
To submit a new workload, select a type, target one of the available backends and provide a configuration object to execute it.
You can create a Workload
through the SDK
with the following command:
workload = sdk.create_workload(workload_type="<WORKLOAD_TYPE>", backend="<BACKEND>", config={"config_param_1": "value"})
Get a workload status/result
Refresh the workload status/results with the following:
Once the workload has been processed, you can fetch the result like this:
Cancel a workload
You can cancel a workload by doing: