Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
BaseSamplerV1
with explicit version
This change is motivated by the following warning: > DeprecationWarning: The class ``qiskit.primitives.base.base_sampler.BaseSampler`` > is deprecated as of qiskit 1.2. It will be removed no earlier > than 3 months after the release date. The `BaseSampler` class is > a type alias for the `BaseSamplerV1` interface that has been > deprecated in favor of explicitly versioned interface classes. > It is recommended to migrate all implementations to use > `BaseSamplerV2`. However, for implementations incompatible with > `BaseSamplerV2`, `BaseSampler` can be replaced with the explicitly > versioned `BaseSamplerV1` class. Related to #551 and #506.
- Loading branch information