deltakit.circuit.noise_channels.PauliYError#
- class deltakit.circuit.noise_channels.PauliYError(qubit: Qubit[T] | T, probability: float, *, tag: str | None = None)#
Bases:
OneQubitOneProbabilityNoiseChannel[T]Applies a Pauli Y with a given probability.
- Parameters:
qubit (Qubit[T] | T) – The qubit to apply Y flip noise to.
probability (float) – A single float specifying the probability of applying a Y operation.
Notes
Pauli Mixture:1-p: Ip : Y
Methods#
Determine whether two noise channels are equal within a given tolerance. |
|
Return a classmethod that can be used to create a noise channel with a predetermined probability |
|
Return all the stim targets which specifies this noise channel. |
|
Transform this noise channel's qubits according to the id mapping. |