surface_sim.layouts#
Functions
|
Generates a rotated surface code layout. |
|
Returns a list of (square) rotated surface codes of the specified distance that are set up to be used in any logical circuit (i.e. they have all the implemented logical gate attributes). |
|
Generates a rotated surface code layout. |
|
Returns a list of rotated surface codes of the specified distance that are set up to be used in any logical circuit (i.e. they have all the implemented logical gate attributes). |
|
Generates a rotated surface layout for stability experiments. |
|
Generates an unrotated surface code layout. |
|
Generates a rotated surface code layout. |
|
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). |
|
Returns a layout for the Small Stellated Dodecahedron code. |
|
Generates a repetition code layout. |
|
Generates a repetition layout for stability experiments. |
|
Plots a layout. |
|
Sets the coordinates of the nodes in the layout. |
|
Checks if the given layouts share any qubits for when doing parallel logical computation with them. |
|
Checks if the QEC code defined in the layout satisfies the following properties: |
|
Overwrites (in place) any existing schedule in a layout with the specified one. |
Classes
|
Layout class for a QEC code. |