- class AerJob(backend, job_id, fn, qobj, executor=None)¶
AerJob class for Qiskit Aer Simulators.
Initializes the asynchronous job.
backend (AerBackend) – the backend used to run the job.
job_id (str) – a unique id in the context of the backend used to run the job.
fn (function) – a callable function to execute qobj on backend. This should usually be a bound
AerBackend._run()method, with the signature (qobj: QasmQobj, job_id: str) -> Result.
qobj (QasmQobj) – qobj to execute
executor (ThreadPoolExecutor or dask.distributed.client) – The executor to be used to submit the job.
Return the instance of the backend used for this job.
Attempt to cancel the job.
Return whether the job has been cancelled.
Return whether the job has successfully run.
Return the executor for this job
Return whether the job is in a final job state such as
Return a unique id identifying the job.
Return the Qobj submitted for this job.
Get job result.
Return whether the job is actively running.
Gets the status of the job by querying the Python's future
Submit the job to the backend for execution.
Poll the job status until it progresses to a final state such as
- version = 1¶