surface_sim.setups.random.RandomSetupDict#

class RandomSetupDict(*args, **kargs)[source]#

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.

For reproducible results, check the implementation of each sampler. The implemented samplers in surface-sim have the argument seed to specify the random seed.

__init__(*args, **kargs)[source]#

Methods