Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dakk committed Nov 15, 2023
1 parent 4c4101a commit 38da76d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qlasskit/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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
Expand Down

0 comments on commit 38da76d

Please sign in to comment.