Skip to content

Commit

Permalink
Fix unnecessary statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Oct 18, 2023
1 parent 3d30e2e commit e900598
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions qiskit/circuit/singleton.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit e900598

Please sign in to comment.