deltakit.decode.utils.VisDecodingGraph3D#
- class deltakit.decode.utils.VisDecodingGraph3D(decoding_graph: NXDecodingGraph)#
Bases:
objectClass to render 2+1D DecodingGraphs using plotly.
- Parameters:
decoding_graph (NXDecodingGraph) – Decoding graph to base visualisations on.
Methods#
Add edges of the base graph as lines to traces |
|
Add correction from decoder to traces. |
|
Add edges of the base graph as lines to traces |
|
Add error to traces. |
|
Add logical edges to traces. |
|
Add nodes of the base graph to traces. |
|
Plots the DecodingGraph in 3D based on the coordinates (h, v, t) of the nodes of the graph. |
|
Given a lit up syndrome, add its nodes to traces |
|
Highlight given set of edges in set colour with the edge type as label. |
|
Plots the DecodingGraph in 3D based on the coordinates (h, v, t) of the nodes of the graph. |