We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa571b3 commit b4fbd2fCopy full SHA for b4fbd2f
src/bloqade/squin/wire.py
@@ -6,7 +6,7 @@
6
dialect.
7
"""
8
9
-from kirin import ir, types, interp, lowering
+from kirin import ir, types, lowering
10
from kirin.decl import info, statement
11
from kirin.lowering import wraps
12
@@ -112,18 +112,6 @@ class Reset(ir.Statement):
112
wire: ir.SSAValue = info.argument(WireType)
113
114
115
-# Issue where constant propagation can't handle
116
-# multiple return values from Apply properly
117
-@dialect.register(key="constprop")
118
-class ConstPropWire(interp.MethodTable):
119
-
120
- @interp.impl(Apply)
121
- @interp.impl(Broadcast)
122
- def apply(self, interp, frame, stmt: Apply):
123
124
- return frame.get_values(stmt.inputs)
125
126
127
@wraps(Unwrap)
128
def unwrap(qubit: Qubit) -> Wire: ...
129
0 commit comments