dqcnac.network.node module

Network node class module.

class dqcnac.network.node.Node(name: str, num_qubits: int, coupling_list: list[tuple], ebits: list[int], cap: int)[source]

Bases: object

The Node class representing a node in the network.

__init__(name: str, num_qubits: int, coupling_list: list[tuple], ebits: list[int], cap: int)[source]

Initialize the Node class.

Parameters:
  • name – The name of the node.

  • num_qubits – The total number of qubits available in the node.

  • coupling_list – List of tuples representing coupling between qubits.

  • ebits – List of qubits that are in error.

  • cap – The total capacity of the node.