Skip to content

bloqade.qasm2.parse.ast.Gate

← Module overview

classGatesource

bloqade.qasm2.parse.ast.Gate

Bases: Statement

Signature
class Gate(name: str, cparams: list[str], qparams: list[str], body: list[UOp | Barrier])

Parameters

NameTypeDescription
namestr
cparamslist[str]
qparamslist[str]
bodylist[UOp | Barrier]

Attributes

NameTypeDescription
namestr
cparamslist[str]
qparamslist[str]
bodylist[UOp | Barrier]