Skip to content

bloqade.qasm3.dialects.expr.stmts.ConstFloat

← Module overview

classConstFloatsource

bloqade.qasm3.dialects.expr.stmts.ConstFloat

Bases: ir.Statement

IR Statement representing a constant float value.

class ConstFloat

Attributes

NameTypeDefaultDescription
name—'constant.float'
traits—frozenset({ir.Pure(), ir.ConstantLike(), lowering.FromPythonCall()})
valuefloatinfo.attribute(types.Float)
resultir.ResultValueinfo.result(types.Float)

methodprint_implsource

bloqade.qasm3.dialects.expr.stmts.ConstFloat.print_impl

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source