警告
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.set_program_visibility¶
- IBMRuntimeService.set_program_visibility(program_id, public)[ソース]¶
Sets a program’s visibility.
- パラメータ
program_id (
str
) – Program ID.public (
bool
) – IfTrue
, make the program visible to all. IfFalse
, make the program visible to just your account.
- 例外
RuntimeJobNotFound – if program not found (404)
QiskitRuntimeError – if update failed (401, 403)
- 戻り値の型
None