Skip to content

bloqade.qasm2.rewrite.parallel_to_glob.ParallelToGlobalRule

← Module overview

classParallelToGlobalRulesource

bloqade.qasm2.rewrite.parallel_to_glob.ParallelToGlobalRule

Bases: abc.RewriteRule

Signature
class ParallelToGlobalRule(address_analysis: Dict[ir.SSAValue, address.Address])

Parameters

NameTypeDescription
address_analysisDict[ir.SSAValue, address.Address]

Attributes

NameTypeDescription
address_analysisDict[ir.SSAValue, address.Address]

methodrewrite_Statementsource

bloqade.qasm2.rewrite.parallel_to_glob.ParallelToGlobalRule.rewrite_Statement

def rewrite_Statement(node: ir.Statement) -> abc.RewriteResult

Parameters

NameTypeDescription
nodeir.Statement

Returns

abc.RewriteResult

source