Skip to content

Commit

Permalink
Revert "Revert "(fix): deprecate class qiskit_ibm_runtime.IBMSampler …
Browse files Browse the repository at this point in the history
…for the next release (#342)" (#365)" (#385)

This reverts commit d69fe47.
  • Loading branch information
rathishcholarajan authored Jun 20, 2022
1 parent e395f52 commit 86bf036
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 176 deletions.
2 changes: 0 additions & 2 deletions qiskit_ibm_runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def result_callback(job_id, result):
RuntimeDecoder
IBMRuntimeService
IBMEstimator
IBMSampler
"""

import logging
Expand All @@ -245,7 +244,6 @@ def result_callback(job_id, result):
from .version import __version__

from .ibm_estimator import IBMEstimator
from .ibm_sampler import IBMSampler
from .estimator import Estimator
from .sampler import Sampler

Expand Down
69 changes: 0 additions & 69 deletions qiskit_ibm_runtime/ibm_sampler.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ deprecations:
and :class:`~qiskit_ibm_runtime.IBMSampler` classes have been deprecated and will be removed
in a future release. Use :class:`~qiskit_ibm_runtime.QiskitRuntimeService`,
:class:`~qiskit_ibm_runtime.Estimator` and :class:`~qiskit_ibm_runtime.Sampler` classes
instead. See upgrade notes section for a detailed explanation with examples.
instead. See upgrade notes section for a detailed explanation with examples.
6 changes: 6 additions & 0 deletions releasenotes/notes/remove-ibm-sampler-7779165095fd2a5f.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
upgrade:
- |
``IBMSampler`` class which was deprecated earlier is now removed. Use
:class:`~qiskit_ibm_runtime.Sampler` class going forward.
104 changes: 0 additions & 104 deletions test/integration/test_ibm_sampler.py

This file was deleted.

0 comments on commit 86bf036

Please sign in to comment.