deltakit.circuit.noise_channels.NoiseChannel#

class deltakit.circuit.noise_channels.NoiseChannel(*_args, tag: str | None = None, **_kwargs)#

Bases: ABC, Generic[T]

Abstract base noise channel which all other noise channel classes must implement.

stim_string#

The string that stim associates to this gate.

Type:

str

Methods#

NoiseChannel.approx_equals

Determine whether two noise channels are equal within a given tolerance.

NoiseChannel.stim_targets

Return all the stim targets which specifies this noise channel.

NoiseChannel.transform_qubits

Transform this noise channel's qubits according to the id mapping.