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 ef277ef commit ed0e7efCopy full SHA for ed0e7ef
src/bloqade/squin/op/stmts.py
@@ -2,7 +2,7 @@
2
from kirin.decl import info, statement
3
4
from .types import OpType
5
-from .number import Number
+from .number import NumberType
6
from .traits import Unitary, HasSites, FixedSites, MaybeUnitary
7
from ._dialect import dialect
8
@@ -54,7 +54,7 @@ class Scale(CompositeOp):
54
traits = frozenset({ir.Pure(), lowering.FromPythonCall(), MaybeUnitary()})
55
is_unitary: bool = info.attribute(default=False)
56
op: ir.SSAValue = info.argument(OpType)
57
- factor: ir.SSAValue = info.argument(Number)
+ factor: ir.SSAValue = info.argument(NumberType)
58
result: ir.ResultValue = info.result(OpType)
59
60
0 commit comments