qbraid.runtime.aqt.AQTJob

class AQTJob(job_id, session=None, **kwargs)[source]

AQT job class.

__init__(job_id, session=None, **kwargs)[source]

Methods

__init__(job_id[, session])

async_result([timeout, poll_interval])

Asynchronously wait for the job to reach a final state and return the result.

cancel()

Cancel the AQT job.

execution_time_s()

Return the job's execution time in seconds, or None if the job hasn't completed.

is_terminal_state()

Returns True if job is in final state.

metadata()

Return the metadata regarding the job.

result()

Wait for the AQT job to finish and return its result.

status()

Return the current status of the AQT 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.

session

Return the AQT session.