Skip to content

Commit

Permalink
fix: Make ZZMax a dyadic operation (#168)
Browse files Browse the repository at this point in the history
Fixes #154
  • Loading branch information
croyzor authored Mar 6, 2024
1 parent 0a42097 commit 152485f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guppylang/prelude/quantum.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def sdg(q: qubit) -> qubit: ...


@guppy.hugr_op(quantum, quantum_op("ZZMax"))
def zz_max(q: qubit) -> qubit: ...
def zz_max(q1: qubit, q2: qubit) -> tuple[qubit, qubit]: ...


@guppy.hugr_op(quantum, quantum_op("Measure"))
Expand Down

0 comments on commit 152485f

Please sign in to comment.