German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

BaseSampler

class BaseSampler(*, options=None)[Quellcode]

Bases: BasePrimitive, Generic[T]

Sampler base class

Base class of Sampler that calculates quasi-probabilities of bitstrings from quantum circuits.

Parameter

options – Default options.

Methods

run

Run the job of the sampling of bitstrings.

set_options

Set options values for the estimator.

Attributes

circuits

Quantum circuits to be sampled.

Rückgabe

The quantum circuits to be sampled.

options

Return options values for the estimator.

Rückgabe

options

parameters

Parameters of quantum circuits.

Rückgabe

List of the parameters in each quantum circuit.