Skip to content
Deltakit v0.5.1
Toggle navigation menu
⌘
K
Deltakit v0.5.1
/
Reference API
/
deltakit.circuit.noise_channels.TwoQubitNoiseChannel
/
deltakit.circuit.noise_channels.TwoQubitNoiseChannel.generator_from_prob
deltakit.circuit.noise_channels.TwoQubitNoiseChannel.generator_from_prob
#
classmethod
TwoQubitNoiseChannel.
generator_from_prob
(
*
gate_args
,
tag
:
str
|
None
=
None
,
**
gate_kwargs
)
→
Callable
[
[
Sequence
[
Qubit
[
T
]
|
T
]
]
,
List
[
TwoQubitNoiseChannelT
]
]
#
Return a classmethod that can be used to create a noise channel with a predetermined probability