deltakit.circuit.noise_channels.TwoQubitNoiseChannel#
- class deltakit.circuit.noise_channels.TwoQubitNoiseChannel(qubit1: Qubit[T] | T, qubit2: Qubit[T] | T, *args, tag: str | None = None, **kwargs)#
Bases:
NoiseChannel[T]Abstract noise channel which acts on pairs of qubits.
- stim_string#
The string that stim associates to this gate.
- Type:
str
Methods#
Determine whether two noise channels are equal within a given tolerance. |
|
Yield a class instance for each pair in a flattened sequence of data. |
|
Return a classmethod that can be used to create a noise channel with a predetermined probability |
|
Get all stim gate targets for this noise channel in a tuple. |
|
Transform this noise channel's qubits according to the id mapping. |