Router Net Topo

class sequence.topology.router_net_topo.RouterNetTopo(conf_file_name: str)

Class for generating quantum communication network with quantum routers

Class RouterNetTopo is the child of class Topology. Quantum routers, BSM nodes, quantum channels, classical channels and timeline for simulation could be generated by using this class.

bsm_to_router_map

mapping of bsm node to two connected routers

Type:

dict[str, list[Node]]

nodes

mapping of type of node to a list of same type node.

Type:

dict[str, list[Node]]

qchannels

list of quantum channel objects in network.

Type:

list[QuantumChannel]

cchannels

list of classical channel objects in network.

Type:

list[ClassicalChannel]

tl

the timeline used for simulation

Type:

Timeline