Quantum Arithmetic — modular Fibonacci dynamics, orbit classification, and the 16 identities
Project description
qa-arithmetic
Core primitives for Quantum Arithmetic. Pure Python, zero dependencies.
Install
pip install qa-arithmetic
Usage
from qa_arithmetic import qa_step, qa_mod, orbit_family, qa_tuple, identities
# A1-compliant Fibonacci shift
qa_step(1, 1, 24) # (1, 2)
qa_step(1, 2, 24) # (2, 3)
# Modular reduction: result in {1,...,m}, never 0
qa_mod(25, 24) # 1
qa_mod(0, 24) # 24
# Orbit classification
orbit_family(1, 1, 24) # "cosmos"
orbit_family(8, 8, 24) # "satellite"
orbit_family(24, 24, 24) # "singularity"
# Full QA tuple (b, e, d, a)
qa_tuple(1, 1, 24) # (1, 1, 2, 3)
# All 16 identities
ids = identities(2, 1)
ids["C"] # 4 (green quadrance = 2de)
ids["F"] # 3 (red quadrance = d*d - e*e = ab)
ids["G"] # 5 (blue quadrance = d*d + e*e)
# C*C + F*F == G*G always (Wildberger Theorem 6)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qa_arithmetic-0.1.0.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qa_arithmetic-0.1.0.tar.gz.
File metadata
- Download URL: qa_arithmetic-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17b5ad7226fb9af0c9d885ca4af9ef2c1767d565da405d013e954a62c430ef64
|
|
| MD5 |
14f2193e505f95ba810660b0a0e0b2b8
|
|
| BLAKE2b-256 |
7ec7fbb9c2c08a403bec9f65c690fd574c65ad8362785a3a2e8ee301772a57e9
|
File details
Details for the file qa_arithmetic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qa_arithmetic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9fc19df7a117a4ef5a16bc839e36e09657dd2e32a7ea42894c1029bb875bd52
|
|
| MD5 |
f04288b49e4209a6746282f55d0ed3b4
|
|
| BLAKE2b-256 |
98aa5a36be103bc20defbc6f693c39a9b559a39208d92ea91c5d613269a8d2a9
|