From f64e1b0761b58a75c68dccdd8b2ebab7dd9195c4 Mon Sep 17 00:00:00 2001 From: allaun Date: Sat, 20 Jun 2026 23:36:30 -0500 Subject: [PATCH] chore(infra): add root requirements.txt and pyproject.toml with dependency groups Root requirements.txt covers all Python deps for a single pip install -r requirements.txt on clone. Root pyproject.toml groups deps into selectable extras: quantum - photonic (perceval), bosonic TN (quimb), QAOA (cirq/qiskit) gpu - wgpu (Vulkan compute) compute - ray, networkx, scipy, numpy db - psycopg2, boto3, gremlinpython, pymysql pipeline - reedsolo, cryptography, highspy, requests, pandas, xxhash all - all groups --- pyproject.toml | 42 ++++++++++++++++++++++++++++++++++++++++++ requirements.txt | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 pyproject.toml create mode 100644 requirements.txt diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..02510847 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,42 @@ +[project] +name = "research-stack" +version = "0.1.0" +description = "Research Stack — formally verified compute fabric" +requires-python = ">=3.10" +optional-dependencies = { + quantum = [ + "perceval-quandela>=1.2.3", + "quimb>=1.4.0", + "opt_einsum>=3.3.0", + "cirq>=1.3.0", + "qiskit>=1.0.0", + "qiskit-aer>=0.14.0", + ], + gpu = [ + "wgpu>=0.19.0", + ], + compute = [ + "ray>=2.9.0", + "networkx>=3.1", + "scipy>=1.11.0", + "numpy>=1.24.0", + ], + db = [ + "psycopg2-binary>=2.9.0", + "boto3>=1.28.0", + "gremlinpython>=3.7.0", + "pymysql>=1.1.0", + ], + pipeline = [ + "reedsolo>=1.7.0", + "cryptography>=41.0.0", + "highspy>=1.7.0", + "requests>=2.31.0", + "pandas>=2.0.0", + "xxhash>=3.4.0", + "pyserial>=3.5", + ], + all = [ + "research-stack[quantum,gpu,compute,db,pipeline]", + ], +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..f50d377c --- /dev/null +++ b/requirements.txt @@ -0,0 +1,48 @@ +# Research Stack — Python dependencies +# Install: pip install -r requirements.txt +# Selective installs via pyproject.toml: pip install ".[quantum]" + +# Core numerical +numpy>=1.24.0 +scipy>=1.11.0 +networkx>=3.1 +pandas>=2.0.0 +matplotlib>=3.7.0 + +# Braid VCN Encoder Pipeline +reedsolo>=1.7.0 +cryptography>=41.0.0 + +# QUBO-to-MIP bridge (HiGHS solver) +highspy>=1.7.0 + +# AlphaProof loop (Ollama API) +requests>=2.31.0 + +# Photonic quantum simulation (Perceval SLOS) +perceval-quandela>=1.2.3 + +# Bosonic tensor networks +quimb>=1.4.0 +opt_einsum>=3.3.0 + +# QAOA adapter shims +cirq>=1.3.0 +qiskit>=1.0.0 +qiskit-aer>=0.14.0 + +# GPU compute +wgpu>=0.19.0 + +# Ray compute dispatch +ray>=2.9.0 + +# Data & serialization +xxhash>=3.4.0 +pyserial>=3.5 + +# Database backends +psycopg2-binary>=2.9.0 +boto3>=1.28.0 +gremlinpython>=3.7.0 +pymysql>=1.1.0