bloqade.qasm3.emit.gate.Func
← Module overview
class
method
sourcemethod
sourcemethod
source
classFunc¶source
bloqade.qasm3.emit.gate.Func
Bases: interp.MethodTable
class Funcmethodemit_return¶source
bloqade.qasm3.emit.gate.Func.emit_return
Signature
def emit_return(emit: EmitQASM3Gate, frame: EmitQASM3Frame, stmt: func.Return)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitQASM3Gate | |
frame | EmitQASM3Frame | |
stmt | func.Return |
methodemit_constant_none¶source
bloqade.qasm3.emit.gate.Func.emit_constant_none
Signature
def emit_constant_none(emit: EmitQASM3Gate, frame: EmitQASM3Frame, stmt: func.ConstantNone)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitQASM3Gate | |
frame | EmitQASM3Frame | |
stmt | func.ConstantNone |
methodemit_gate_func¶source
bloqade.qasm3.emit.gate.Func.emit_gate_func
Signature
def emit_gate_func(emit: EmitQASM3Gate, frame: EmitQASM3Frame, stmt: GateFunction)Parameters
| Name | Type | Description |
|---|---|---|
emit | EmitQASM3Gate | |
frame | EmitQASM3Frame | |
stmt | GateFunction |