From 4e394afd831097548bf251135678c6e02bb36748 Mon Sep 17 00:00:00 2001 From: Jessie Yu Date: Wed, 28 Feb 2024 09:45:00 -0500 Subject: [PATCH] lint --- qiskit_ibm_runtime/base_primitive.py | 2 +- qiskit_ibm_runtime/utils/utils.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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