qbraid.runtime.ionq.IonQJob

class IonQJob(job_id, session, **kwargs)[source]

IonQ job class.

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

Methods

__init__(job_id, session, **kwargs)

cancel()

Cancel the IonQ job.

is_terminal_state()

Returns True if job is in final state.

metadata()

Store and return the metadata of the IonQ job.

result()

Return the result of the IonQ job.

status()

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