Exceptions

class qiskit_aqt_provider.exceptions.AQTError[source]

Base class for errors raised by the AQT provider.

class qiskit_aqt_provider.exceptions.AQTJobError[source]

Base class for errors raised by AQT cloud jobs.

class qiskit_aqt_provider.exceptions.AQTJobInvalidStateError[source]

Error raised when an operation is attempted on a job in an invalid state.

class qiskit_aqt_provider.exceptions.AQTJobFailedError[source]

Error raised when a job has failed.

class qiskit_aqt_provider.exceptions.AQTJobPersistenceError[source]

Base class for errors raised while persisting or restoring jobs.

class qiskit_aqt_provider.exceptions.AQTJobNotFoundError[source]

Error raised when a persisted job cannot be found.

class qiskit_aqt_provider.exceptions.AQTJobCorruptError[source]

Error raised when persisted job data cannot be decoded.

class qiskit_aqt_provider.exceptions.AQTJobIncompatibleError[source]

Error raised when persisted job data uses an unsupported format.

class qiskit_aqt_provider.exceptions.AQTJobBackendMismatchError[source]

Error raised when a job is restored on a different backend.

class qiskit_aqt_provider.exceptions.AQTApiError[source]

Errors that occur unexpectedly when querying the server.

class qiskit_aqt_provider.exceptions.AQTCredentialsError[source]

Errors related to authentication and credentials for the AQT API.

class qiskit_aqt_provider.exceptions.AQTValueError[source]

Error raised when an invalid value is provided to a function or method.

class qiskit_aqt_provider.exceptions.AQTRequestError[source]

Error raised due to issues with a request.

class qiskit_aqt_provider.api_client.errors.APIError[source]

An API request failed.

Instances of this class are raised when errors occur while communicating with the target resource API (for both remote and direct-access resources).

If the underlying API request failed with an error status, the exception chain contains the original httpx.HTTPStatusError