bloqade.qasm2.parse.ast.Gate
← Module overview
class
classGate¶source
bloqade.qasm2.parse.ast.Gate
Bases: Statement
Signature
class Gate(name: str, cparams: list[str], qparams: list[str], body: list[UOp | Barrier])Parameters
| Name | Type | Description |
|---|---|---|
name | str | |
cparams | list[str] | |
qparams | list[str] | |
body | list[UOp | Barrier] |
Attributes
| Name | Type | Description |
|---|---|---|
name | str | |
cparams | list[str] | |
qparams | list[str] | |
body | list[UOp | Barrier] |