qat.interop.qiskit.QiskitJob
- class qat.interop.qiskit.QiskitJob(qlm_batch, async_job, max_shots)
Wrapper around Qiskit’s asynchronous jobs.
- cancel()
Attempts to cancel the job.
- Returns
Boolean indicating whether the attempt was successful or not
- dump(file_name)
Dumps the
Batch
object used for creating the job into a binary file. This file should later be used with AsyncBackendToQPU’sretrieve_job()
.- Parameters
file_name – Name of the binary file to create
- job_id()
Returns the job’s ID.
- result()
Returns the result if available.
- Returns
Result
object orBatchResult
object if the batch submitted contains several jobs
- status()
Returns the job status.