Qiskit primitives#

class qiskit_aqt_provider.primitives.sampler.AQTSampler[source]#

Bases: BackendSampler

BaseSamplerV1 primitive for AQT backends.

__init__(backend: AQTResource, options: dict[str, Any] | None = None, skip_transpilation: bool = False)[source]#

Initialize a Sampler primitive using an AQT backend.

Parameters:
  • backend – AQT resource to evaluate circuits on.

  • options – options passed through to the underlying BackendSampler.

  • skip_transpilation – if True, do not transpile circuits before passing them to the execution backend.

class qiskit_aqt_provider.primitives.estimator.AQTEstimator[source]#

Bases: BackendEstimator

BaseEstimatorV1 primitive for AQT backends.

__init__(backend: AQTResource, options: dict[str, Any] | None = None, abelian_grouping: bool = True, skip_transpilation: bool = False)[source]#

Initialize an Estimator primitive using an AQT backend.

Parameters:
  • backend – AQT resource to evaluate circuits on.

  • options – options passed to through to the underlying BackendEstimator.

  • abelian_grouping – whether the observable should be grouped into commuting parts.

  • skip_transpilation – if True, do not transpile circuits before passing them to the execution backend.