progress.pqnet.net_manager

This module contains the manager for the NET layer. It is responsible for handling controller messages and maintaining the DAG.

class progress.pqnet.net_manager.NetManagerProtocol(name, node)[source]

Bases: ServiceProtocol

A service that is installed on a quantum network device and manages the NET layer. It is responsible for
  • handling controller messages

  • delivering messages from other modules to inner modules

  • maintaining the DAG.

Parameters:
namestr

The name of the protocol.

nodenetsquid.nodes.Node

The node that the protocol is running on.

class req_message(message)

Bases: tuple

Request to handle a ProgReSS message.

Notes

The request is a named tuple with the following fields:
  • message(netsquid.components.Message): The message to handle.

message

Alias for field number 0