Skip to content

Stmts

Depolarize

Bases: NoiseChannel

Apply depolarize error to single qubit

Depolarize2

Bases: NoiseChannel

Apply correlated depolarize error to two qubits

This will apply one of the randomly chosen Pauli products:

{IX, IY, IZ, XI, XX, XY, XZ, YI, YX, YY, YZ, ZI, ZX, ZY, ZZ}

TwoQubitPauliChannel

Bases: NoiseChannel

This will apply one of the randomly chosen Pauli products:

{IX, IY, IZ, XI, XX, XY, XZ, YI, YX, YY, YZ, ZI, ZX, ZY, ZZ}

but the choice is weighed with the given probability.

NOTE: the given parameters are ordered as given in the list above!