From e900598a327ca8a0db7a6d5a11cadf0a15829ecb Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Wed, 18 Oct 2023 18:39:31 +0100 Subject: [PATCH] Fix unnecessary statement --- qiskit/circuit/singleton.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qiskit/circuit/singleton.py b/qiskit/circuit/singleton.py index 4a446704df46..57b2ea879883 100644 --- a/qiskit/circuit/singleton.py +++ b/qiskit/circuit/singleton.py @@ -250,7 +250,6 @@ class XGate(Gate, metaclass=_SingletonMeta, overrides=_SingletonGateOverrides): from __future__ import annotations import functools -import typing from .instruction import Instruction from .gate import Gate @@ -401,9 +400,6 @@ def __call__(cls, *args, _force_mutable=False, **kwargs): return super().__call__(*args, **kwargs) -_InstructionT = typing.TypeVar("_InstructionT", bound=Instruction) - - class _SingletonBase(metaclass=_SingletonMeta): """Base class of all the user-facing (library-author-facing) singleton classes such as :class:`SingletonGate`.