You're reading an old version of this documentation. If you want up-to-date information, please have a look at 11.0.

qiskit_iqm.iqm_job.IQMJob#

class qiskit_iqm.iqm_job.IQMJob(backend, job_id, **kwargs)#

Bases: qiskit.providers.job.JobV1

Implementation of Qiskit’s job interface to handle circuit execution on an IQM server.

Parameters
  • backend (qiskit_iqm.IQMBackend) – the backend instance initiating this job

  • job_id (str) – string representation of the UUID generated by IQM server

  • **kwargs – arguments to be passed to the initializer of the parent class

Initializes the asynchronous job.

Parameters
  • backend (qiskit_iqm.IQMBackend) – the backend used to run the job.

  • job_id (str) – a unique id in the context of the backend used to run the job.

  • kwargs – Any key value metadata to associate with this job.

Attributes

Methods

_format_iqm_results(iqm_result)

Convert the measurement results from a circuit(s) run into the Qiskit format.

_format_measurement_results(...)

cancel()

Attempt to cancel the job.

result()

Return the results of the job.

status()

Return the status of the job, among the values of JobStatus.

submit()

Submit the job to the backend for execution.

submit()#

Submit the job to the backend for execution.

cancel()#

Attempt to cancel the job.

result()#

Return the results of the job.

Return type

qiskit.result.result.Result

status()#

Return the status of the job, among the values of JobStatus.

Return type

qiskit.providers.jobstatus.JobStatus