deltakit.circuit.noise_channels.PauliZError#
- class deltakit.circuit.noise_channels.PauliZError(qubit: Qubit[T] | T, probability: float, *, tag: str | None = None)#
Bases:
OneQubitOneProbabilityNoiseChannel[T]Applies a Pauli Z with a given probability.
- Parameters:
qubit (Qubit[T] | T) – The qubit to apply phase flip noise to.
probability (float) – A single float specifying the probability of applying a Z operation.
Notes
Pauli Mixture:1-p: Ip : Z
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. |