AQTResource#

class qiskit_aqt_provider.aqt_resource.AQTResource[source]#

Bases: _ResourceBase[AQTOptions]

Qiskit backend for AQT cloud quantum computing resources.

Use AQTProvider.get_backend to 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 AQTOptions model. Unknown fields are ignored with a UnknownOptionWarning.

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_backend to 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.result call.

Parameters:
  • circuits – circuits to execute

  • options – overrides for this resource’s options. Elements should be valid fields of the AQTOptions model. Unknown fields are ignored with a UnknownOptionWarning.

Returns:

A handle to the prepared job.

class qiskit_aqt_provider.aqt_resource.OfflineSimulatorResource[source]#

Bases: AQTResource

AQT-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.simulator attribute.

property with_noise_model: bool#

Whether the simulator includes a noise model.

class qiskit_aqt_provider.aqt_resource.UnknownOptionWarning[source]#

Bases: UserWarning

An unknown option was passed to a backend’s run method.

class qiskit_aqt_provider.aqt_resource._ResourceBase[source]#

Bases: Generic[_OptionsType], BackendV2

Common setup for AQT backends.

configuration() BackendConfiguration[source]#

Legacy Qiskit backend configuration.

property max_circuits: int#

Maximum number of circuits per batch.

property options: _OptionsType#

Configured backend options.

property target: Target#

Transpilation target for this backend.

qiskit_aqt_provider.aqt_resource._OptionsType#

Invariant TypeVar bound to qiskit_aqt_provider.aqt_options.AQTOptions.

Resource options model.