bloqade.squin.noise.stmts.Depolarize2
← Module overview
class
classDepolarize2¶source
bloqade.squin.noise.stmts.Depolarize2
Bases: TwoQubitNoiseChannel
Apply correlated depolarize error to two qubits
class Depolarize2This will apply one of the randomly chosen Pauli products each with probability p / 15:
{IX, IY, IZ, XI, XX, XY, XZ, YI, YX, YY, YZ, ZI, ZX, ZY, ZZ}
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
p | ir.SSAValue | info.argument(types.Float) | |
controls | ir.SSAValue | info.argument(ilist.IListType[QubitType, N]) | |
targets | ir.SSAValue | info.argument(ilist.IListType[QubitType, N]) |