qbraid.runtime.oqc.OQCJob
- class OQCJob(job_id, qpu_id, client, **kwargs)[source]
Oxford Quantum Circuit job class.
Methods
__init__
(job_id, qpu_id, client, **kwargs)cancel
()Cancel the task.
get_errors
(**kwargs)Get the error message for the task.
get_timings
(**kwargs)Get the timings for the task.
is_terminal_state
()Returns True if job is in final state.
metadata
([use_cache])Get the metadata for the task.
metrics
(**kwargs)Get the metrics for the task.
result
(**kwargs)Get the result of the task.
status
(**kwargs)Get the status of the task.
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.