ManagedJob

class ManagedJob(start_index, experiments_count, job=None)[source]

Job managed by the Job Manager.

ManagedJob constructor.

Parameters
  • start_index (int) – Starting index of the experiment set.

  • experiments_count (int) – Number of experiments.

  • job (Optional[IBMQJob]) – Job to be managed, or None if not already known.

Methods

ManagedJob.cancel()

Attempt to cancel the job.

ManagedJob.error_message()

Provide details about the reason of failure.

ManagedJob.qobj()

Return the Qobj for this job.

ManagedJob.result([timeout, partial])

Return the result of the job.

ManagedJob.status()

Query the server for job status.

ManagedJob.submit(qobj, job_name, backend, …)

Submit the job.