QiskitRuntimeService.saved_accounts¶
- static QiskitRuntimeService.saved_accounts(default=None, channel=None, filename=None, name=None)[source]¶
List the accounts saved on disk.
- Parameters:
default (
Optional
[bool
]) – If set to True, only default accounts are returned.channel (
Optional
[Literal
[‘ibm_cloud’, ‘ibm_quantum’]]) – Channel type. ibm_cloud or ibm_quantum.filename (
Optional
[str
]) – Name of file whose accounts are returned.name (
Optional
[str
]) – If set, only accounts with the given name are returned.
- Return type:
dict
- Returns:
A dictionary with information about the accounts saved on disk.
- Raises:
ValueError – If an invalid account is found on disk.