A discrete modular framework that finds structure where continuous methods see noise.
git clone https://github.com/1r0nw1ll/quantum-arithmetic-research.git
cd quantum-arithmetic-research
pip install numpy scipy scikit-learn pandas
PYTHONPATH=qa_observer:. python -m qa_observer.demoYou'll see three things:
- Orbit structure -- 576 state pairs self-organize into 3 orbit families (Cosmos, Satellite, Singularity)
- Coherence detection -- the T-operator predicts structured sequences perfectly while scoring noise at chance
- Chromogeometry -- Pythagorean triples emerge from Fibonacci direction vectors via Wildberger's theorem
Quantum Arithmetic operates on pairs (b, e) in {1,...,N} under a Fibonacci-like shift:
d = b + e (mod N) a = b + 2e (mod N)
This generates orbits with period 1, 8, or 24 (mod 24). The 16 derived invariants -- quadrances, products, sums -- turn out to be the chromogeometric quantities of rational trigonometry (Wildberger). The key identity C^2 + F^2 = G^2 is Wildberger's Theorem 6 restricted to integer direction vectors.
The QA Coherence Index (QCI) measures how well a time series follows the T-operator prediction. High QCI = structured dynamics. Low QCI = noise. This single number adds predictive power beyond standard features in 6+ domains.
| Domain | What QCI Adds | Key Result |
|---|---|---|
| EEG seizure detection | Topographic orbit state beyond delta power | +0.21 R^2, 10/10 patients, p < 10^-33 |
| EMG pathology | Motor unit recruitment structure | +0.61 R^2, strongest single-domain lift |
| Climate teleconnection | ENSO orbit classification | La Nina 97% satellite, p < 10^-6 |
| Financial volatility | T-operator coherence predicts vol | Partial r = -0.22 beyond realized vol |
| Audio classification | Orbit transition rates | Partial r = +0.75, p = 0.020 beyond lag-1 AC |
| Atmospheric reanalysis | QCI vs future variability | Partial r = -0.20, p < 10^-5 |
Every result includes partial correlations controlling for the best conventional predictor. QA adds on top of existing methods, never replaces them.
Every empirical claim is backed by a machine-verifiable certificate: schema, validator, witnesses, and documentation. The meta-validator runs in CI.
cd qa_alphageometry_ptolemy && python qa_meta_validator.py
# 186/186 PASSFamilies span: Pythagorean triples, E8 alignment, chromogeometry, Fibonacci resonance, Keely triune streams, megalithic geometry, planetary quantum numbers, graph community detection, and more.
Browse: qa_alphageometry_ptolemy/ | Docs: docs/families/README.md
qa_observer/ pip-installable QCI toolkit (TopographicObserver, QCI, SurrogateTest)
qa_lab/ Research lab: agents, PIM kernels, graph features, Rust acceleration
qa_alphageometry_ptolemy/ 186 certificate families with validators
papers/ Research papers (published to this repo)
tools/ QA axiom linter, security audit, LaTeX claim linter
docs/ Digital garden (GitHub Pages)
qa-observer -- domain-general coherence measurement
from qa_observer import TopographicObserver
obs = TopographicObserver(modulus=24, n_clusters=6, qci_window=63)
obs.fit(train_data) # (n_samples, n_channels)
qci = obs.transform(data) # QCI time series
result = obs.evaluate(data, target, lagged_control)qa-lab -- research infrastructure
cd qa_lab && pip install -e .
qa status # pipeline health
qa dispatch # route tasks to agents
qa meta # run meta-validatorqa_pim / qa_graph -- PIM kernels and graph feature extraction (24 + 12 tests)
Six non-negotiable axioms enforce discrete integrity. The linter runs as a pre-commit hook and in CI:
python tools/qa_axiom_linter.py --all # 0 errors requiredA1 (No-Zero), A2 (Derived Coords), T2 (Firewall), S1 (No **2), S2 (No float state), T1 (Path Time). See QA_AXIOMS_BLOCK.md.
# Core (runs everything)
pip install numpy scipy scikit-learn pandas matplotlib
# EEG experiments
pip install pyedflib
# Full dev environment
pip install -r requirements-dev.txtRequires Python 3.9+. Tested on 3.11 and 3.13.
@software{dale2026qa,
author = {Dale, Will},
title = {Quantum Arithmetic: Modular Framework for Structural Coherence},
year = {2026},
url = {https://github.com/1r0nw1ll/quantum-arithmetic-research}
}MIT. See LICENSE_NOTICE.md for attribution requirements on certificate families.