IBMQBackend.run

IBMQBackend.run(qobj, job_name=None, job_share_level=None, job_tags=None, validate_qobj=False)[source]

Run a Qobj asynchronously.

Parameters
  • qobj (Union[QasmQobj, PulseQobj]) – The Qobj to be executed.

  • job_name (Optional[str]) – Custom name to be assigned to the job. This job name can subsequently be used as a filter in the jobs() method. Job names do not need to be unique.

  • job_share_level (Optional[str]) –

    Allows sharing a job at the hub, group, project, or global level. The possible job share levels are: global, hub, group, project, and none.

    • global: The job is public to any user.

    • hub: The job is shared between the users in the same hub.

    • group: The job is shared between the users in the same group.

    • project: The job is shared between the users in the same project.

    • none: The job is not shared at any level.

    If the job share level is not specified, the job is not shared at any level.

  • job_tags (Optional[List[str]]) – Tags to be assigned to the jobs. The tags can subsequently be used as a filter in the jobs() function call.

  • validate_qobj (bool) – If True, run JSON schema validation against the submitted payload

Return type

IBMQJob

Returns

The job to be executed, an instance derived from BaseJob.

Raises