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-simhave the argumentseedto specify the random seed.Methods