Japanese
言語
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

警告

The package qiskit-ibmq-provider is being deprecated and its repo is going to be archived soon. Please transition to the new packages. More information in https://ibm.biz/provider_migration_guide

qiskit.providers.ibmq.runtime.IBMRuntimeService.update_program

IBMRuntimeService.update_program(program_id, data=None, metadata=None, name=None, description=None, max_execution_time=None, spec=None)[ソース]

Update a runtime program.

Program metadata can be specified using the metadata parameter or individual parameters, such as name and description. If the same metadata field is specified in both places, the individual parameter takes precedence.

パラメータ
  • program_id (str) – Program ID.

  • data (Optional[str]) – Program data or path of the file containing program data to upload.

  • metadata (Union[Dict, str, None]) – Name of the program metadata file or metadata dictionary.

  • name (Optional[str]) – New program name.

  • description (Optional[str]) – New program description.

  • max_execution_time (Optional[int]) – New maximum execution time.

  • spec (Optional[Dict]) – New specifications for backend characteristics, input parameters, interim results and final result.

例外
  • RuntimeProgramNotFound – If the program doesn’t exist.

  • QiskitRuntimeError – If the request failed.

戻り値の型

None