qiskit.providers.ibmq.runtime.IBMRuntimeService.program¶
-
IBMRuntimeService.
program
(program_id, refresh=False)[source]¶ Retrieve a runtime program.
Currently only program metadata is returned.
- Parameters
program_id (
str
) – Program ID.refresh (
bool
) – IfTrue
, re-query the server for the program. Otherwise return the cached value.
- Return type
RuntimeProgram
- Returns
Runtime program.
- Raises
RuntimeProgramNotFound – If the program does not exist.
QiskitRuntimeError – If the request failed.