qbraid.runtime.origin.OriginJob
- class OriginJob(job_id, device=None, job=None, service=None, **kwargs)[source]
OriginQ QCloud job class.
Methods
__init__(job_id[, device, job, service])async_result([timeout, poll_interval])Asynchronously wait for the job to reach a final state and return the result.
cancel()Cancel the OriginQ job.
is_terminal_state()Returns True if job is in final state.
metadata()Return the metadata regarding the job.
result()Return the result of the OriginQ job.
status()Return the current status of the OriginQ job.
wait_for_final_state([timeout, poll_interval])Poll the job status until it progresses to a final state.
Attributes
deviceReturns the qbraid QuantumDevice object associated with this job.
idReturn a unique id identifying the job.