surface_sim.layouts.unrot_surface_codes#

unrot_surface_codes(num_layouts, distance)[source]#

Returns a list of unrotated surface codes of the specified distance that are set up to be used in any logical circuit (i.e. they have all the required logical gate attributes).

Parameters:
num_layouts

Number of layouts to generate.

distance

The distance of the layouts.

Returns:
layouts

List of layouts.