Skip to content

Commit

Permalink
Make BaseEstimatorV2 importable from qiskit.primitives (Qiskit#11789)
Browse files Browse the repository at this point in the history
* Make BaseEstimatorV2 importable from qiskit.primitives

* Fix typo
  • Loading branch information
caleb-johnson authored Feb 13, 2024
1 parent e871478 commit 0d8af39
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion qiskit/primitives/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
.. autosummary::
:toctree: ../stubs/
BaseEstimatorV2
StatevectorEstimator
Sampler
Expand All @@ -49,6 +50,13 @@
BaseSampler
Sampler
BackendSampler
SamplerV2
=========
.. autosummary::
:toctree: ../stubs/
BaseSamplerV2
StatevectorSampler
Expand All @@ -66,7 +74,7 @@

from .backend_estimator import BackendEstimator
from .backend_sampler import BackendSampler
from .base import BaseEstimator, BaseSampler, BaseSamplerV2
from .base import BaseEstimator, BaseEstimatorV2, BaseSampler, BaseSamplerV2
from .base.estimator_result import EstimatorResult
from .base.sampler_result import SamplerResult
from .containers import (
Expand Down

0 comments on commit 0d8af39

Please sign in to comment.