The default arguments for surface_sim.layouts.plot should be add_labels = True, add_patches = True, add_connections = True, and set_limits = True. Currently the plot only shows the dots corresponding to the qubits and the edges corresponding to the connections, but no labels.
The corresponding test should also be improved because now if I set add_labels = True, surface_sim.layouts.plot shows an error.
Another thing to improve is to use ax.set_aspect("equal") because if not the rectangular surface codes look stretched.
(this issue has been move from qec-util to surface-sim, see here)
The default arguments for
surface_sim.layouts.plot
should beadd_labels = True
,add_patches = True
,add_connections = True
, andset_limits = True
. Currently the plot only shows the dots corresponding to the qubits and the edges corresponding to the connections, but no labels.The corresponding test should also be improved because now if I set
add_labels = True
,surface_sim.layouts.plot
shows an error.Another thing to improve is to use
ax.set_aspect("equal")
because if not the rectangular surface codes look stretched.(this issue has been move from
qec-util
tosurface-sim
, see here)