Skip to content

bloqade.squin.noise.stmts.Depolarize2

← Module overview

classDepolarize2source

bloqade.squin.noise.stmts.Depolarize2

Bases: TwoQubitNoiseChannel

Apply correlated depolarize error to two qubits

class Depolarize2

This 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

NameTypeDefaultDescription
pir.SSAValueinfo.argument(types.Float)
controlsir.SSAValueinfo.argument(ilist.IListType[QubitType, N])
targetsir.SSAValueinfo.argument(ilist.IListType[QubitType, N])