Topology¶
Definition of the Topology class.
This module provides a definition of the Topology class, which can be used to manage a network’s structure. Topology instances automatically perform many useful network functions.
- class src.topology.topology.Topology(conf_file_name: str)¶
Class for generating network from configuration file.
The topology class provides a simple interface for managing the nodes and connections in a network. A network may also be generated using an external json file.
- qchannels¶
list of quantum channel objects in network.
- Type:
List[QuantumChannel]
- cchannels¶
list of classical channel objects in network.
- Type:
List[ClassicalChannel]