powered by
function to generate the noise list
genNoise(nbits, p = 0, bits = 1:nbits, error = "any", ...)
a list containing p, bits, error and args
p
bits
error
args
integer. The number of qubits
probability with which noise is applied after every gate
integer or integer array. The bit to which to apply the gate.
String containing the error model.
Additional arguments to be stored in args.
See function noise for details.
noise
genNoise(4) genNoise(2, p=1, error="small", sigma=0.1)
Run the code above in your browser using DataLab