Skip to content

Commit d86cad3

Browse files
committed
Remove unneeded method from QASM2 emit
1 parent 636083b commit d86cad3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/bloqade/qasm2/emit/base.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ def initialize_frame(
4545
) -> EmitQASM2Frame[StmtType]:
4646
return EmitQASM2Frame(node, has_parent_access=has_parent_access)
4747

48-
def run_method(
49-
self, method: ir.Method, args: tuple[ast.Node | None, ...]
50-
) -> tuple[EmitQASM2Frame[StmtType], ast.Node | None]:
51-
return self.call(method, *args)
52-
5348
def emit_block(self, frame: EmitQASM2Frame, block: ir.Block) -> ast.Node | None:
5449
for stmt in block.stmts:
5550
result = self.frame_eval(frame, stmt)

0 commit comments

Comments
 (0)