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