deltakit.circuit.noise_channels.PauliChannel1#
- class deltakit.circuit.noise_channels.PauliChannel1(qubit: Qubit[T] | T, p_x: float = 0.0, p_y: float = 0.0, p_z: float = 0.0, *, tag: str | None = None)#
Bases:
OneQubitNoiseChannel[T],MultiProbabilityNoiseChannel[T]A single qubit Pauli error channel with explicitly specified probabilities for each case.
- Parameters:
qubit (Qubit[T] | T) – The qubit to apply the custom noise channel to.
p_x (float, optional) – Probability of applying an X operation, by default 0.0
p_y (float, optional) – Probability of applying a Y operation, by default 0.0
p_z (float, optional) – Probability of applying a Z operation, by default 0.0
Notes
Pauli Mixture:1-px-py-pz: Ipx: Xpy: Ypz: 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. |