bloqade.qasm2.parse.ast.BinOp
← Module overview
class
classBinOp¶source
bloqade.qasm2.parse.ast.BinOp
Bases: Expr
class BinOp(op: Literal['+', '-', '*', '/', '^'], lhs: Expr, rhs: Expr)Parameters
| Name | Type | Description |
|---|---|---|
op | Literal['+', '-', '*', '/', '^'] | |
lhs | Expr | |
rhs | Expr |
Attributes
| Name | Type | Description |
|---|---|---|
op | Literal['+', '-', '*', '/', '^'] | |
lhs | Expr | |
rhs | Expr |