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 thejobs()
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
, andnone
.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 thejobs()
function call.validate_qobj (
bool
) – IfTrue
, run JSON schema validation against the submitted payload
- Return type
- Returns
The job to be executed, an instance derived from BaseJob.
- Raises
IBMQBackendApiError – If an unexpected error occurred while submitting the job.
IBMQBackendApiProtocolError – If an unexpected value received from the server.
IBMQBackendValueError – If an input parameter value is not valid.