qbraid.runtime.qperfect.QPerfectJob

class QPerfectJob(job_id, connection=None, **kwargs)[source]

QPerfect (MIMIQ) job class.

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

Methods

__init__(job_id[, connection])

async_result([timeout, poll_interval])

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

cancel()

Cancel the QPerfect job.

is_terminal_state()

Returns True if job is in final state.

metadata()

Return the metadata regarding the job.

result()

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

status()

Return the current status of the QPerfect job.

wait_for_final_state([timeout, poll_interval])

Poll the job status until it progresses to a final state.

Attributes

connection

Return the MIMIQ connection used by this job.

device

Returns the qbraid QuantumDevice object associated with this job.

id

Return a unique id identifying the job.