bloqade.squin.noise.stmts.QubitLeakage
← Module overview
class
classQubitLeakage¶source
bloqade.squin.noise.stmts.QubitLeakage
Bases: SingleQubitNoiseChannel
Apply a leakage channel (leak to 0 with p0 and to 1 with p1)
class QubitLeakageAttributes
| Name | Type | Default | Description |
|---|---|---|---|
p0 | ir.SSAValue | info.argument(types.Float) | |
p1 | ir.SSAValue | info.argument(types.Float) | |
qubits | ir.SSAValue | info.argument(ilist.IListType[QubitType, types.Any]) |