IBMQFactory.load_account¶
- IBMQFactory.load_account()[source]¶
Authenticate against IBM Quantum Experience from stored credentials.
- Return type
Optional
[AccountProvider
]- Returns
If the configuration file specifies a default provider, it is returned. Otherwise the provider for the open access project is returned.
- Raises
IBMQAccountCredentialsInvalidFormat – If the default provider stored on disk could not be parsed.
IBMQAccountCredentialsNotFound – If no IBM Quantum Experience credentials can be found.
IBMQAccountMultipleCredentialsFound – If multiple IBM Quantum Experience credentials are found.
IBMQAccountCredentialsInvalidUrl – If invalid IBM Quantum Experience credentials are found.
IBMQProviderError – If the default provider stored on disk could not be found.