AzureQuantumJob Class
A Job running on Azure Quantum
Constructor
AzureQuantumJob(backend, azure_job=None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
backend
Required
|
|
|
azure_job
|
Default value: None
|
Methods
| cancel |
Attempt to cancel the job. |
| id |
This job's id. |
| job_id |
This job's id. |
| queue_position |
Return the position of the job in the queue. Currently not supported. |
| refresh |
Refreshes the job metadata from the server. |
| result |
Return the results of the job. |
| status |
Return the status of the job, among the values of |
| submit |
Submits the job for execution. |
cancel
Attempt to cancel the job.
cancel()
id
This job's id.
id()
job_id
This job's id.
job_id()
queue_position
Return the position of the job in the queue. Currently not supported.
queue_position()
refresh
Refreshes the job metadata from the server.
refresh()
result
Return the results of the job.
result(timeout=None, sampler_seed=None)
Parameters
| Name | Description |
|---|---|
|
timeout
|
Default value: None
|
|
sampler_seed
|
Default value: None
|
status
Return the status of the job, among the values of JobStatus.
status()
submit
Submits the job for execution.
submit()