Skip to content

bloqade.qasm2.dialects.uop.stmts.Barrier

← Module overview

classBarriersource

bloqade.qasm2.dialects.uop.stmts.Barrier

Bases: ir.Statement

Apply the Barrier statement.

class Barrier

Attributes

NameTypeDefaultDescription
name—'barrier'
traits—frozenset({lowering.FromPythonCall()})
qargstuple[ir.SSAValue, ...]info.argument(QubitType)qargs: tuple of qubits to apply the barrier to.