AQTResource¶
- class qiskit_aqt_provider.aqt_resource.AQTResource[source]¶
Bases:
_ResourceBase[AQTOptions]Qiskit backend for AQT cloud quantum computing resources.
Use
AQTProvider.get_backendto retrieve backend instances.- run(circuits: QuantumCircuit | list[QuantumCircuit], **options: Any) AQTJob[source]¶
Submit circuits for execution on this resource.
- Parameters:
circuits – circuits to execute
options – overrides for this resource’s options. Elements should be valid fields of the
AQTOptionsmodel. Unknown fields are ignored with aUnknownOptionWarning.
- Returns:
A handle to the submitted job.
- class qiskit_aqt_provider.aqt_resource.AQTDirectAccessResource[source]¶
Bases:
_ResourceBase[AQTDirectAccessOptions]Qiskit backend for AQT direct-access quantum computing resources.
Use
AQTProvider.get_direct_access_backendto retrieve backend instances.- run(circuits: QuantumCircuit | list[QuantumCircuit], **options: Any) AQTDirectAccessJob[source]¶
Prepare circuits for execution on this resource.
Warning
The circuits are only evaluated during the
AQTDirectAccessJob.resultcall.- Parameters:
circuits – circuits to execute
options – overrides for this resource’s options. Elements should be valid fields of the
AQTOptionsmodel. Unknown fields are ignored with aUnknownOptionWarning.
- Returns:
A handle to the prepared job.
- class qiskit_aqt_provider.aqt_resource.OfflineSimulatorResource[source]¶
Bases:
AQTResourceAQT-compatible offline simulator resource.
Offline simulators expose the same interface and restrictions as hardware backends. If with_noise_model is true, a noise model approximating that of AQT hardware backends is used.
Tip
The simulator backend is provided by Qiskit Aer. The Qiskit Aer resource is exposed for detailed detuning as the
OfflineSimulatorResource.simulatorattribute.
- class qiskit_aqt_provider.aqt_resource.UnknownOptionWarning[source]¶
Bases:
UserWarningAn unknown option was passed to a backend’s
runmethod.
- class qiskit_aqt_provider.aqt_resource._ResourceBase[source]¶
Bases:
Generic[_OptionsType],BackendV2Common setup for AQT backends.
- configuration() BackendConfiguration[source]¶
Legacy Qiskit backend configuration.
- property options: _OptionsType¶
Configured backend options.
- qiskit_aqt_provider.aqt_resource._OptionsType¶
Invariant
TypeVarbound toqiskit_aqt_provider.aqt_options.AQTOptions.Resource options model.