qbraid.runtime.ibm.QiskitJob
- class QiskitJob(job_id, job=None, service=None, **kwargs)[source]
Class for interfacing with a Qiskit IBM
RuntimeJob
.Create a
QiskitJob
instance.Methods
__init__
(job_id[, job, service])Create a
QiskitJob
instance.cancel
()Attempt to cancel the job.
is_terminal_state
()Returns True if job is in final state.
metadata
()Return the metadata regarding the job.
queue_position
()Returns the position of the job in the server queue.
result
()Return the results of the job.
status
()Returns status from Qiskit Job object.
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.