surface_sim.setups.random#

Functions

gamma(alpha, beta[, seed])

get_random_params(setup_dict)

Returns the a dictionary mapping the error mechanism names to all the values of the given parameter in the setup.

lognormal(mu, sigma[, seed])

normal(mu, sigma[, seed])

uniform(a, b[, seed])

weibull(alpha, beta[, seed])

Classes

RandomSetupDict(*args, **kargs)

For each qubit or qubit pair, if the noise parameters are not defined, it samples a random physical error configuration given by the samplers and stores it in the dictionary.