IBMQFactory.save_account

static IBMQFactory.save_account(token, url='https://auth.quantum-computing.ibm.com/api', hub=None, group=None, project=None, overwrite=False, **kwargs)[source]

Save the account to disk for future use.

Note

If storing a default provider to disk, all three parameters hub, group, project must be specified.

Parameters
  • token (str) – IBM Quantum Experience token.

  • url (str) – URL for the IBM Quantum Experience authentication server.

  • hub (Optional[str]) – Name of the hub for the default provider to store on disk.

  • group (Optional[str]) – Name of the group for the default provider to store on disk.

  • project (Optional[str]) – Name of the project for the default provider to store on disk.

  • overwrite (bool) – Overwrite existing credentials.

  • **kwargs

    • proxies (dict): Proxy configuration for the server.

    • verify (bool): If False, ignores SSL certificates errors

Raises
Return type

None