Skip to content

bloqade.qasm3.dialects.core.stmts.Reset

← Module overview

classResetsource

bloqade.qasm3.dialects.core.stmts.Reset

Bases: ir.Statement

Reset a qubit to the |0> state.

class Reset

Attributes

NameTypeDefaultDescription
name—'reset'
traits—frozenset({lowering.FromPythonCall()})
qargir.SSAValueinfo.argument(QubitType)qarg (Qubit): The qubit to reset.