BiMoType-Ternary: The Metriplectic Quantum Framework
Bridging Ternary Topology, Nuclear Physics, and Secure P2P Quantum Communication
BiMoType-Ternary is a high-performance framework that unifies topological quantum computing with nuclear physics signatures. By leveraging ternary logic (-1, 0, +1) and the rigorous Metriplectic Mandate, it provides a stable and physically verifiable substrate for quantum communication and cryptography.
📜 El Mandato Metriplético (Core Philosophy)
This framework is built upon the foundational principles of Metriplectic dynamics:
- Symplectic Component (Hamiltonian $H$): Generates conservative, reversible motion (Schrödinger evolution).
- Metric Component (Entropy $S$): Generates irreversible relaxation toward an attractor (Radioactive decay).
- No Singularities: We balance the dual brackets to avoid numerical explosion or thermal death.
- Golden Operator ($O_n$): All simulation space is modulated by $O_n = \cos(\pi n) \cdot \cos(\pi \phi n)$, where $\phi \approx 1.618$.
🚀 Key Features
🔐 Multi-Layer Security
- Metriplectic Cryptography: Encryption anchored in radioactive decay topology.
- Hardware Fingerprinting: Devices are identified by unique hardware-recursive signatures.
- Mutual Handshake Protocol: "Deny-by-Default" security. All P2P connections must be explicitly authorized.
📡 Secure P2P Networking
- Decentralized Discovery: Automatic peer registration and discovery via local cache.
- Topological Packets: Data is encoded into ternary BiMoType packets for maximum resilience.
- Handshake Verification: Automatic filtering of unauthorized data packets.
🧬 Interactive Dashboard
- Metriplectic Console: Real-time visualization of P2P activity, identity management, and secure chat.
- Glassmorphism UI: High-premium dark theme optimized for technical workflows.
⚛️ Radioactive Signatures & Data Structures
BiMoType-Ternary includes a specialized library for radioactive signature modeling and quantum state management:
- Isotope Registry: Built-in library of nuclear isotopes including Sr-90, Tc-99m, Pu-238, and now full Hydrogen isotopes support:
- H1 (Protium) & H2 (Deuterium): Stable isotopes for baseline modulation.
- H3 (Tritium): Beta-decay signature for active quantum channel seeding.
- Bi-Modal Data Types: Rigorous implementation of
FirmaRadiactivaandEstadoCuanticofor hybrid physical-informational modeling. - Normalización Cuántica: Built-in validation for qubit state normalization ($|\alpha|^2 + |\beta|^2 = 1$).
📦 Installation
# Recomendado: Entorno virtual
python3 -m venv env
source env/bin/activate
# Instalación directa desde PyPI (Próximamente v1.3.0)
pip install bimotype-ternary
# Instalación modo desarrollo
pip install -e ".[all]"
🛠️ Usage
Launching the Dashboard (GUI)
The most interactive way to use BiMoType is through the Streamlit-based dashboard:
python main.py --gui
P2P Communication via CLI
You can also run listening peers or send data via command line:
# Iniciar escucha P2P
python main.py --listen
# Enviar mensaje a un fingerprint específico
python main.py --send <DEST_FINGERPRINT> --message "HELLO_H7"
Key Generation Demo
python main.py --crypto 42
🏗️ Project Structure
bimotype-ternary/
├── bimotype_ternary/ # Nucleo de la Librería
│ ├── core/ # 🧠 Session & Recursive Engines
│ ├── crypto/ # 🔐 Criptografía & Handshaking
│ ├── database/ # 🗄️ Persistencia SQLite & Modelos
│ ├── network/ # 📡 P2P, Discovery & Handshake Protocol
│ ├── physics/ # ⚛️ Dinámica Metriplética
│ └── topology/ # 🌀 Codificación Ternaria & H7
├── gui.py # 🧬 Streamlit Dashboard
├── main.py # 🚀 Entry Point Unificado
└── tests/ # 🧪 Suite de Pruebas (Seguridad & P2P)
🧪 Verification
Mantenemos un rigor físico y matemático absoluto. Todos los cambios en la capa P2P y Seguridad deben superar los tests de inyección y autorización:
pytest tests/test_p2p.py
📄 License & Credits
- Autor: Jacobo Tlacaelel Mina Rodriguez
- Principios: Marco de la Analogía Rigurosa (TLACA)
- Licencia: MIT
Built for a rigorous and secure quantum future.
Metadata
Release files for bimotype-ternary 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bimotype_ternary-1.3.0.tar.gz | 51.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bimotype_ternary-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 95.2 kB
Release files / bimotype_ternary-1.3.0.tar.gz
| Download URL | bimotype_ternary-1.3.0.tar.gz |
|---|---|
| Size | 51.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d123ce37c40cc16a3c41fba8182db42eb2f8433a14d66ec918a798383598462
|
|
BLAKE2b-256 checksum How to use checksums |
a8eff1aea4853f79494f6d94e7fe80f06ba3d3b0e986b67b41c2f3b62a06148b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|
Release files / bimotype_ternary-1.3.0-py3-none-any.whl
| Download URL | bimotype_ternary-1.3.0-py3-none-any.whl |
|---|---|
| Size | 44.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a7e3984a007b7824e3b94e8f51b2bafe349ee4689ee16746929bb8c294c44ed
|
|
BLAKE2b-256 checksum How to use checksums |
7004b8fdb9f1bc74441c7345e6ccbd2658976ab78685e846fc8b232613747f75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.7
|