deltakit.circuit.noise_channels.Depolarise2#
- class deltakit.circuit.noise_channels.Depolarise2(qubit1: Qubit[T] | T, qubit2: Qubit[T] | T, probability: float, tag: str | None = None)#
Bases:
OneProbabilityNoiseChannel[T],TwoQubitNoiseChannel[T]The two-qubit depolarising channel. Applies a randomly chosen two-qubit Pauli product with a given probability.
- Parameters:
Notes
Pauli Mixture:1-p: IIp/15: IXp/15: IYp/15: IZp/15: XIp/15: XXp/15: XYp/15: XZp/15: YIp/15: YXp/15: YYp/15: YZp/15: ZIp/15: ZXp/15: ZYp/15: ZZ
Methods#
Determine whether two noise channels are equal within a given tolerance. |
|
Yield a class instance for each pair in a flattened sequence of data. |
|
Return a classmethod that can be used to create a noise channel with a predetermined probability |
|
Get all stim gate targets for this noise channel in a tuple. |
|
Transform this noise channel's qubits according to the id mapping. |