Skip to content

bloqade.qasm3.dialects.expr.stmts.ConstPI

← Module overview

classConstPIsource

bloqade.qasm3.dialects.expr.stmts.ConstPI

Bases: ir.Statement

The constant value of PI.

class ConstPI

Attributes

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

methodprint_implsource

bloqade.qasm3.dialects.expr.stmts.ConstPI.print_impl

def print_impl(printer: Printer) -> None

Parameters

NameTypeDescription
printerPrinter
source