diff --git a/qiskit_ibm_runtime/base_primitive.py b/qiskit_ibm_runtime/base_primitive.py index bfa4b739e..ff0b781c2 100644 --- a/qiskit_ibm_runtime/base_primitive.py +++ b/qiskit_ibm_runtime/base_primitive.py @@ -271,6 +271,14 @@ def __init__( self._service: QiskitRuntimeService | QiskitRuntimeLocalService = None self._backend: Optional[BackendV1 | BackendV2] = None + issue_deprecation_msg( + "The Sampler and Estimator V1 primitives have been deprecated", + "0.23.0", + "Please use the V2 Primitives. See the `V2 migration guide " + "`_. for more details", + 3, + ) + if options is None: self._options = asdict(Options()) elif isinstance(options, Options):