Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

BaseSampler

class BaseSampler(*, options=None)[código fonte]

Bases: BasePrimitive, Generic[T]

Sampler base class

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

Parâmetros

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.

Retorno

The quantum circuits to be sampled.

options

Return options values for the estimator.

Retorno

options

parameters

Parameters of quantum circuits.

Retorno

List of the parameters in each quantum circuit.