quantum_launcher.routines.qiskit_routines.backends.qiskit_backend#

Base backend class for Qiskit routines.

Summary#

Classes:

QiskitBackend

Base class for backends compatible with qiskit.

Reference#

class quantum_launcher.routines.qiskit_routines.backends.qiskit_backend.QiskitBackend(name: Literal['local_simulator', 'backendv1v2_simulator', 'device'], options: OptionsV2 | None = None, backendv1v2: BackendV1 | BackendV2 | None = None)[source]#

Bases: Backend

Base class for backends compatible with qiskit.

name#

The name of the backend.

Type:

str

options#

The options for the backend. Defaults to None.

Type:

Options | None, optional

backendv1v2#

Predefined backend to use with name ‘backendv1v2_simulator’. Defaults to None.

Type:

BackendV1 | BackendV2 | None, optional

sampler#

The sampler used for sampling.

Type:

BaseSamplerV2

estimator#

The estimator used for estimation.

Type:

BaseEstimatorV2

optimizer#

The optimizer used for optimization.

Type:

Optimizer

property samplerV1: Sampler#