deltakit.circuit.noise_channels.OneQubitNoiseChannel#
- class deltakit.circuit.noise_channels.OneQubitNoiseChannel(qubit: Qubit[T] | T, *args, tag: str | None = None, **kwargs)#
Bases:
NoiseChannel[T]Abstract noise channel which only acts on a single qubit.
- stim_string#
The string that stim associates to this gate.
- Type:
str
- Parameters:
qubit (Qubit[T] | T) – The qubit that this noise channel error acts on.
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. |