qbraid.runtime.oqc.OQCJob

class OQCJob(job_id, client, **kwargs)[source]

Oxford Quantum Circuit job class.

__init__(job_id, client, **kwargs)[source]

Methods

__init__(job_id, client, **kwargs)

cancel()

Cancel the task.

get_errors()

Get the error message for the task.

get_timings()

Get the timings for the task.

is_terminal_state()

Returns True if job is in final state.

metadata()

Get the metadata for the task.

metrics()

Get the metrics for the task.

result()

Get the result of the task.

status()

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.

qpu_id

Return the QPU ID.