bloqade.qasm2.dialects.core.stmts.CRegEq
← Module overview
class
classCRegEq¶source
bloqade.qasm2.dialects.core.stmts.CRegEq
Bases: ir.Statement
Check if two classical registers are equal.
class CRegEqAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'eq' | |
traits | — | frozenset({ir.Pure(), lowering.FromPythonCall()}) | |
lhs | ir.SSAValue | info.argument(types.Int | CRegType | BitType) | lhs (CReg): The first register. |
rhs | ir.SSAValue | info.argument(types.Int | CRegType | BitType) | rhs (CReg): The second register. |
result | ir.ResultValue | info.result(types.Bool) | result (bool): True if the registers are equal, False otherwise. |