bloqade.squin.noise.stmts.TwoQubitPauliChannel
← Module overview
class
classTwoQubitPauliChannel¶source
bloqade.squin.noise.stmts.TwoQubitPauliChannel
Bases: TwoQubitNoiseChannel
This will apply one of the randomly chosen Pauli products:
class TwoQubitPauliChannel{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!
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
probabilities | ir.SSAValue | info.argument(ilist.IListType[QubitType, types.Literal(15)]) | |
controls | ir.SSAValue | info.argument(ilist.IListType[QubitType, N]) | |
targets | ir.SSAValue | info.argument(ilist.IListType[QubitType, N]) |