Skip to content

Commit

Permalink
Fix bug in cnot gate initialiser
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarice committed Jul 18, 2024
1 parent 6f52098 commit 285bd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xdsl/dialects/qref.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class CNotGateOp(QRefBase):
def __init__(self, in1: SSAValue, in2: SSAValue):
super().__init__(
operands=(in1, in2),
result_types=(qubit, qubit),
result_types=(),
)

def ssa_op(self) -> qssa.CNotGateOp:
Expand Down

0 comments on commit 285bd2e

Please sign in to comment.