qiskit.providers.ibmq.runtime.ProgramBackend.run¶
- abstract ProgramBackend.run(circuits, timeout=None, **run_config)[source]¶
Run on the backend.
Runtime circuit execution is synchronous, and control will not go back until the execution finishes. You can use the timeout parameter to set a timeout value to wait for the execution to finish. Note that if the execution times out, circuit execution results will not be available.
- Parameters
circuits (
Union
[QasmQobj
,PulseQobj
,QuantumCircuit
,Schedule
,List
[Union
[QuantumCircuit
,Schedule
]]]) -- An individual or a list ofQuantumCircuit
orSchedule
objects to run on the backend. AQasmQobj
or aPulseQobj
object is also supported but is deprecated.timeout (
Optional
[int
]) -- Seconds to wait for circuit execution to finish.**run_config -- Extra arguments used to configure the run.
- Return type
- Returns
The job to be executed.
- 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.