PrimitiveJob
class qiskit.primitives.PrimitiveJob(function, *args, **kwargs)
Bases: BasePrimitiveJob[ResultT, JobStatus]
Handle to a job from the reference implementations of the primitives in Qiskit.
This is a concrete implementation of the BasePrimitiveJob interface. See the documentation of that class for a discussion of the interface.
Primitives implementers looking to create their own job classes should not subclass this, but instead subclass the interface definition BasePrimitiveJob.
Parameters
function – A callable function to execute the job.
Methods
cancel
cancelled
done
in_final_state
in_final_state()
Return whether the job is in a final job state such as DONE or ERROR.
Return type
job_id
result
running
status
Was this page helpful?
Report a bug, typo, or request content on GitHub.