French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

BaseSampler

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

Bases : BasePrimitive, Generic[T]

Sampler base class

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

Paramètres

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.

Renvoie

The quantum circuits to be sampled.

options

Return options values for the estimator.

Renvoie

options

parameters

Parameters of quantum circuits.

Renvoie

List of the parameters in each quantum circuit.