Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change is in accordance with the following warning that is triggered by the Qiskit 1.2 rc: > qiskit_aer/primitives/sampler.py:69: 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. Co-authored-by: Jun Doi <[email protected]>
- Loading branch information