Skip to content

Commit

Permalink
fix: Use correct TK2 gate names (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch authored Apr 11, 2024
1 parent 72e666a commit df92642
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guppylang/prelude/quantum.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ def rz(q: qubit, angle: float) -> qubit: ...
def rx(q: qubit, angle: float) -> qubit: ...


@guppy.hugr_op(quantum, quantum_op("RzF64"))
@guppy.hugr_op(quantum, quantum_op("PhasedX"))
def phased_x(q: qubit, angle1: float, angle2: float) -> qubit: ...


@guppy.hugr_op(quantum, quantum_op("RzF64"))
@guppy.hugr_op(quantum, quantum_op("ZZPhase"))
def zz_phase(q1: qubit, q2: qubit, angle: float) -> tuple[qubit, qubit]: ...


@guppy.hugr_op(quantum, quantum_op("RzF64"))
@guppy.hugr_op(quantum, quantum_op("TK1"))
def tk1(q: qubit, angle1: float, angle2: float, angle3: float) -> qubit: ...


Expand Down

0 comments on commit df92642

Please sign in to comment.