quantum_launcher.routines.qiskit_routines.backends.aqt_backend#
AQT backend class for Qiskit routines
Summary#
Classes:
An extension of QiskitBackend providing support for Alpine Quantum Technologies (AQT) devices. |
Reference#
- class quantum_launcher.routines.qiskit_routines.backends.aqt_backend.AQTBackend(name: Literal['local_simulator', 'backendv1v2_simulator', 'device'], options: OptionsV2 | None = None, backendv1v2: BackendV1 | BackendV2 | None = None, token: str | None = None, dotenv_path: str | None = None)[source]#
Bases:
QiskitBackend
An extension of QiskitBackend providing support for Alpine Quantum Technologies (AQT) devices.
- token#
AQT token, used for authorization when using real device backends.
- Type:
str, optional
- dotenv_path#
(recommended) Path to a .env file containing the AQT token. If dotenv_path is not None, the token will be ignored and the token from the .env file will be used.
- Type:
str,optional
Usage Example#
backend = AQTBackend(token='valid_token', name='device')
or
backend = AQTBackend(dotenv_path='./.env', name='device')
with a .env file:
AQT_TOKEN=valid_token
- sampler: AQTSampler#
- estimator: AQTEstimator#