Skip to content

Commit a637d95

Browse files
committed
remove commented out code for wire dialect wrapping, not possible to handle multiple return results
1 parent da07d26 commit a637d95

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/bloqade/squin/wire.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -101,27 +101,3 @@ class ConstPropWire(interp.MethodTable):
101101
def apply(self, interp, frame, stmt: Apply):
102102

103103
return frame.get_values(stmt.inputs)
104-
105-
106-
# Avoid using frontend for now
107-
"""
108-
@wraps(Wrap)
109-
def wrap(wire: Wire, qubit: Qubit) -> None: ...
110-
111-
@wraps(Unwrap)
112-
def unwrap(qubit: Qubit) -> Wire: ...
113-
114-
# From talking with Roger, wrapped `Apply` does not
115-
# work the way it should
116-
@wraps(Apply)
117-
def apply(operator: Op, *args: Wire) -> tuple[Wire, ...]: ...
118-
119-
@wraps(Measure)
120-
def measure(wire: Wire) -> int: ...
121-
122-
@wraps(MeasureAndReset)
123-
def measure_and_reset(wire: Wire) -> tuple[int, Wire]: ...
124-
125-
@wraps(Reset)
126-
def reset(wire: Wire) -> None: ...
127-
"""

0 commit comments

Comments
 (0)