From 38da76d5ffffc5db1980bc27930e5223cd553c77 Mon Sep 17 00:00:00 2001 From: "Davide Gessa (dakk)" Date: Wed, 15 Nov 2023 13:20:37 +0100 Subject: [PATCH] fix linter --- qlasskit/types/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qlasskit/types/__init__.py b/qlasskit/types/__init__.py index eb45ddaa..23e139df 100644 --- a/qlasskit/types/__init__.py +++ b/qlasskit/types/__init__.py @@ -15,7 +15,7 @@ from typing import Any, List, Union, Optional, get_args -from sympy.logic import Not, Xor, And, Or +from sympy.logic import Not, Xor, And def _neq(a, b): @@ -32,7 +32,6 @@ def _half_adder(a, b): # Carry x Sum def _full_adder(c, a, b): # Carry x Sum return (a & b) ^ (a ^ b) & c, Xor(Xor(a, b), c) - #return Or(And(a, b), And(b, c), And(a, c)), Xor(Xor(a, b), c) from .qtype import Qtype, TExp, TType # noqa: F401, E402