fp.codes¶
Available modules¶
Abstract graphs for qubit codes. |
|
The abstract stabilizer class. |
|
Class for the measurement-based surface code and related functions. |
Module members¶
The qubit codes module.
Functions¶
|
Return an EGraph of a dims-dimensional RHG lattice. |
|
Return +1 or -1 depending on the vertices that form edge edge. |
Classes¶
|
An enhanced graph for representing quantum graph states. |
|
An implementation of StabilizerGraph backed by a NetworkX graph. |
|
An implementation of StabilizerGraph backed by a rustworkx graph. |
|
A class for representing a stabilizer element of a code. |
|
An abstraction for a stabilizer graph. |
|
A class for representing the surface code. |