Skip to content

bloqade.stim.dialects.auxiliary.interp.StimAuxMethods

← Module overview

classStimAuxMethodssource

bloqade.stim.dialects.auxiliary.interp.StimAuxMethods

Bases: interp.MethodTable

class StimAuxMethods

methodconstsource

bloqade.stim.dialects.auxiliary.interp.StimAuxMethods.const

Signature
def const(interpreter: interp.Interpreter, frame: interp.Frame, stmt: stmts.ConstFloat | stmts.ConstInt | stmts.ConstBool | stmts.ConstStr)

Parameters

NameTypeDescription
interpreterinterp.Interpreter
frameinterp.Frame
stmtstmts.ConstFloat | stmts.ConstInt | stmts.ConstBool | stmts.ConstStr
source

methodnegsource

bloqade.stim.dialects.auxiliary.interp.StimAuxMethods.neg

Signature
def neg(interpreter: interp.Interpreter, frame: interp.Frame, stmt: stmts.Neg)

Parameters

NameTypeDescription
interpreterinterp.Interpreter
frameinterp.Frame
stmtstmts.Neg
source