flamingpy.codes.surface_code¶
Class for the measurement-based surface code and related functions.
Classes
|
A class for representing the surface code. |
Functions
|
Return an EGraph of a dims-dimensional RHG lattice. |
|
Return +1 or -1 depending on the vertices that form edge edge. |
|
All the dual neighbours of primal vertex p in the RHG lattice. |
|
Return a list of x-y-z boundaries corresponding to bound_name. |
source/api/flamingpy.codes.surface_code
Download Python script
Download Notebook
View on GitHub