bloqade.qasm2.dialects.uop.stmts.Barrier
← Module overview
class
classBarrier¶source
bloqade.qasm2.dialects.uop.stmts.Barrier
Bases: ir.Statement
Apply the Barrier statement.
class BarrierAttributes
| Name | Type | Default | Description |
|---|---|---|---|
name | — | 'barrier' | |
traits | — | frozenset({lowering.FromPythonCall()}) | |
qargs | tuple[ir.SSAValue, ...] | info.argument(QubitType) | qargs: tuple of qubits to apply the barrier to. |