Skip to content

Commit

Permalink
Remove v1 primitive implementations
Browse files Browse the repository at this point in the history
This commit removes the deprecated implementation of the v1 primitives
interface. These were deprecated in the 1.2 release and have been
superseded by the implementation of the v2 primtives interface.
  • Loading branch information
mtreinish committed Feb 18, 2025
1 parent d9b8a18 commit e4ea636
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 2,934 deletions.
8 changes: 0 additions & 8 deletions qiskit/primitives/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,6 @@
BaseEstimator
BaseEstimatorV1
Estimator
BackendEstimator
EstimatorResult
Expand All @@ -450,14 +448,10 @@
BaseSampler
BaseSamplerV1
Sampler
BackendSampler
SamplerResult
"""

from .backend_estimator import BackendEstimator
from .backend_sampler import BackendSampler
from .base import (
BaseEstimator,
BaseEstimatorV1,
Expand All @@ -480,9 +474,7 @@
ObservableLike,
ObservablesArrayLike,
)
from .estimator import Estimator
from .primitive_job import BasePrimitiveJob, PrimitiveJob
from .sampler import Sampler
from .statevector_estimator import StatevectorEstimator
from .statevector_sampler import StatevectorSampler
from .backend_estimator_v2 import BackendEstimatorV2
Expand Down
Loading

0 comments on commit e4ea636

Please sign in to comment.