qbraid.runtime.azure.AzureQuantumJob
- class AzureQuantumJob(job_id, workspace=None, **kwargs)[source]
Azure job class.
Methods
__init__
(job_id[, workspace])async_result
([timeout, poll_interval])Asynchronously wait for the job to reach a final state and return the result.
cancel
()Cancel the Azure job.
details
()Return the details of the Azure job and update the metadata cache.
is_terminal_state
()Returns True if job is in final state.
metadata
()Return the metadata regarding the job.
result
()Return the result of the Azure job.
status
()Return the current status of the Azure job.
wait_for_final_state
([timeout, poll_interval])Poll the job status until it progresses to a final state.
Attributes
device
Returns the qbraid QuantumDevice object associated with this job.
id
Return a unique id identifying the job.
workspace
Return the Azure Quantum Workspace.