Skip to main content
Ctrl+K

Public Quantum Network

  • Overview
  • Backend
  • Frontend
  • Hardware
  • Contributing
    • pqn-stack
    • pqn-gui
  • GitHub
  • Overview
  • Backend
  • Frontend
  • Hardware
  • Contributing
  • pqn-stack
  • pqn-gui
  • GitHub

Section Navigation

  • Installation
  • Configuration
  • Architecture
  • Running a Node
  • Experiment Protocols
  • Backend

Backend#

The pqn-stack repository contains the Python backend for PQN nodes. It manages quantum hardware, implements experiment protocols, and exposes a FastAPI server for the frontend and inter-node communication.

Repository: github.com/PublicQuantumNetwork/pqn-stack

  • Installation
    • Prerequisites
    • Install uv
    • Clone and Install
    • Verify Installation
  • Configuration
    • Node API Configuration (config.toml)
    • Router and Hardware Provider Configuration
  • Architecture
    • Node API
    • Router
    • Hardware Provider
    • Drivers
    • Protocols
    • CLI
  • Running a Node
    • 1. Start the Router
    • 2. Start the Hardware Provider
    • 3. Start the Node API
    • 4. Start the Web Frontend (optional)
    • Two-Node Setup
  • Experiment Protocols
    • CHSH Bell Test
    • Quantum Key Distribution (QKD)
    • Quantum Fortune
    • Secret Message Sharing (SSM)
    • Tomography
    • Visibility
    • API Reference

previous

Overview

next

Installation

Show Source

© Copyright 2026, Benjamin Nussbaum, Marcos Frenkel, Soroush Hoseini.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.17.0.