English
Languages
English
Japanese
Spanish

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) – If True, 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.

  • IBMRuntimeError – If the request failed.