QiskitRuntimeService.program¶
- QiskitRuntimeService.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:
- Returns:
Runtime program.
- Raises:
RuntimeProgramNotFound – If the program does not exist.
IBMRuntimeError – If the request failed.