File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
src/bloqade/gemini/analysis/measurement_validation Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 33from kirin .dialects import func
44
55from bloqade import qubit , gemini
6+ from bloqade .analysis .address .impls import Func as AddressFuncMethodTable
67from bloqade .analysis .address .lattice import AddressReg , AddressQubit
78from bloqade .analysis .measure_id .lattice import MeasureIdTuple
89
@@ -106,18 +107,5 @@ def terminal_measure(
106107
107108
108109@func .dialect .register (key = "gemini.validate.terminal_measurement" )
109- class Func (_interp .MethodTable ):
110- @_interp .impl (func .Invoke )
111- def return_ (
112- self ,
113- interp : _GeminiTerminalMeasurementValidationAnalysis ,
114- frame : ForwardFrame ,
115- stmt : func .Invoke ,
116- ):
117- _ , ret = interp .call (
118- stmt .callee .code ,
119- interp .method_self (stmt .callee ),
120- * frame .get_values (stmt .inputs ),
121- )
122-
123- return (ret ,)
110+ class Func (AddressFuncMethodTable ):
111+ pass
You can’t perform that action at this time.
0 commit comments