diff --git a/qiskit_ibm_runtime/base_primitive.py b/qiskit_ibm_runtime/base_primitive.py index 8f18c5868..798b67cf8 100644 --- a/qiskit_ibm_runtime/base_primitive.py +++ b/qiskit_ibm_runtime/base_primitive.py @@ -150,7 +150,7 @@ def _run_primitive(self, primitive_inputs: Dict, user_kwargs: Dict) -> RuntimeJo and isinstance(self._backend, IBMBackend) and isinstance(self._backend.service, QiskitRuntimeService) and hasattr(self._backend, "target") - and self._service._channel_strategy != 'q-ctrl' + and self._service._channel_strategy != "q-ctrl" ): validate_isa_circuits(primitive_inputs["circuits"], self._backend.target) diff --git a/qiskit_ibm_runtime/utils/utils.py b/qiskit_ibm_runtime/utils/utils.py index 139e5e1a7..ffbcb2044 100644 --- a/qiskit_ibm_runtime/utils/utils.py +++ b/qiskit_ibm_runtime/utils/utils.py @@ -17,7 +17,6 @@ import os import re import hashlib -import warnings from queue import Queue from threading import Condition from typing import List, Optional, Any, Dict, Union, Tuple, Sequence