Skip to content

bloqade.qasm2.parse.ast.BinOp

← Module overview

classBinOpsource

bloqade.qasm2.parse.ast.BinOp

Bases: Expr

class BinOp(op: Literal['+', '-', '*', '/', '^'], lhs: Expr, rhs: Expr)

Parameters

NameTypeDescription
opLiteral['+', '-', '*', '/', '^']
lhsExpr
rhsExpr

Attributes

NameTypeDescription
opLiteral['+', '-', '*', '/', '^']
lhsExpr
rhsExpr