IBMExperimentService.save_account

classmethod IBMExperimentService.save_account(token=None, url=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://api.quantum-computing.ibm.com

  • name (Optional[str]) – Name of the account to save.

  • proxies (Optional[dict]) – Proxy configuration. Supported optional keys are urls (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