simulaqron.start package

Submodules

simulaqron.start.start_qnodeos module

simulaqron.start.start_qnodeos.start_qnodeos(node_name: str, network_config_file: Path, network_name: str)[source]

Start the QNPU that accepts NetQASM subroutines, and sends them as instructions to the SimulaQron virtual node backend over twisted PB (Native Mode SimulaQron).

Parameters:
  • node_name (str) – Name of the node (e.g., ‘Alice’).

  • network_config_file (Path) – Path to network config file.

  • network_name (str) – Name of the network (e.g., ‘default’).

simulaqron.start.start_vnode module

simulaqron.start.start_vnode.start_vnode(name: str, network_config_file: Path, network_name: str, nodes_running: List[str])[source]

Start the execution of a virtual simulaqron node. This node will simulate all quantum aspects of the node, and is then reachable via Twisted PB (Simulaqron Native Mode) or - when also starting QNPU - the QNPU Server which translates NetQASM to native mode.

Parameters:
  • name (str) – Name of the node (e.g., ‘Alice’).

  • network_config_file (Path) – Path to network config file.

  • network_name (str) – Name of the network (e.g., ‘default’).

  • nodes_running (List[str]) – List of nodes running (e.g., [‘Alice’, ‘Bob’]).

Module contents