QiskitRuntimeService.save_account¶
- static QiskitRuntimeService.save_account(token=None, url=None, instance=None, channel=None, filename=None, name=None, proxies=None, verify=None, overwrite=False)[source]¶
Save the account to disk for future use.
- Parameters:
token (
Optional
[str
]) – IBM Cloud API key or IBM Quantum API token.url (
Optional
[str
]) – The API URL. Defaults to https://cloud.ibm.com (ibm_cloud) or https://auth.quantum-computing.ibm.com/api (ibm_quantum).instance (
Optional
[str
]) – The CRN (ibm_cloud) or hub/group/project (ibm_quantum).channel (
Optional
[Literal
[‘ibm_cloud’, ‘ibm_quantum’]]) – Channel type. ibm_cloud or ibm_quantum.filename (
Optional
[str
]) – Full path of the file where the account is saved.name (
Optional
[str
]) – Name of the account to save.proxies (
Optional
[dict
]) – Proxy configuration. Supported optional keys areurls
(a dictionary mapping protocol or protocol and host to the URL of the proxy, documented at https://docs.python-requests.org/en/latest/api/#requests.Session.proxies),username_ntlm
,password_ntlm
(username and password to enable NTLM user authentication)verify (
Optional
[bool
]) – Verify the server’s TLS certificate.overwrite (
Optional
[bool
]) –True
if the existing account is to be overwritten.
- Return type:
None