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
This commit is contained in:
allaun 2026-06-20 23:36:30 -05:00
parent ec3c4cd440
commit f64e1b0761
2 changed files with 90 additions and 0 deletions

42
pyproject.toml Normal file
View file

@ -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]",
],
}

48
requirements.txt Normal file
View file

@ -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