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 the job of the sampling of bitstrings.
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.