genNoise | R Documentation |
function to generate the noise list
genNoise(nbits, p = 0, bits = 1:nbits, error = "any", ...)
nbits |
integer. The number of qubits |
p |
probability with which noise is applied after every gate |
bits |
integer or integer array. The bit to which to apply the gate. |
error |
String containing the error model. |
... |
Additional arguments to be stored in |
See function noise
for details.
a list containing p
, bits
, error
and
args
genNoise(4)
genNoise(2, p=1, error="small", sigma=0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.