Skip to content

DeDuckProject/global-epp-results

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

Repeater-Protocol Simulation Plot Explorer

A static, client-side React application for interactively exploring pre-computed SVG plots of quantum-repeater simulations.

Live App: https://deduckproject.github.io/global-epp-results

Key Features:

  • Interactive Exploration: Use sliders and dropdowns to select parameters and view corresponding simulation plots.
  • Lazy Loading: SVGs are loaded on-demand to keep the initial application lightweight.
  • Deep Linking: Share specific plot configurations via URL query parameters.
  • Parameter-aware UI: UI controls are automatically enabled or disabled based on the selected plot type.

Tech Stack

This project is built with modern web technologies:

Quickstart / Local Development

To run this project locally, you'll need Node.js (v18 or higher is recommended).

# 1. Clone the repository
git clone <YOUR_GIT_URL>
cd <YOUR_PROJECT_NAME>

# 2. Install dependencies
npm install

# 3. Start the development server
npm run dev

The application will be available at http://localhost:8080 (or the next available port).

Build & Metadata Generation

The project includes a build-time script that generates TypeScript metadata for all plot files. This is a crucial step that catalogues all plots and their parameters.

How it works

The script (scripts/src/generatePlotMeta.ts) scans the public/comparison_plots/ directory for SVG/PNG files and parses their filenames to extract parameters (η_c, ε_G, N, M, rule). It then generates src/data/plotMeta.ts, which exports:

  • A metadata array for all plots.
  • Lists of unique parameter values for sliders.
  • A dependency matrix that maps plot types to the parameters they depend on.

The build process will fail with an error if any plot filename does not match the expected format, ensuring data integrity.

Commands

The metadata generation is part of the standard build process.

# To generate metadata manually
npm run build:meta

# To build the full application for production
npm run build

Testing

The project uses Vitest for unit and component testing.

# Run the test suite
npm test

Please ensure all tests pass before submitting a pull request. New features must include corresponding tests.

Deployment

The npm run build command creates a dist/ directory with all the static assets for the application. You can deploy this directory to any static web hosting service, such as:

Citation

This project is supplementary material for the paper "Advantages of Global Entanglement-Distillation Policies in Quantum Repeater Chains" (DOI to be added).

If you use this software, please cite it using the metadata in CITATION.cff. The project is archived on Zenodo:

DOI

Further Reading

For more detailed information about the project's architecture and requirements, please see: