openoptics.OpticalTopo.static_topo#
- openoptics.OpticalTopo.static_topo(nb_node, nb_link=1)[source]#
Static topology generated from a random regular graph.
- Parameters:
nb_node – Number of nodes
nb_link – Number of links
- Returns:
A list of circuits, with only one time slice, of a random regular graph on nodes which is an expander graph with very good probability.