Quantum communication protocol with radioactive signatures and topological encoding
Project description
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.
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
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 bimotype_ternary-1.3.0.tar.gz.
File metadata
- Download URL: bimotype_ternary-1.3.0.tar.gz
- Upload date:
- Size: 51.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d123ce37c40cc16a3c41fba8182db42eb2f8433a14d66ec918a798383598462
|
|
| MD5 |
afb4e6096b947e57cf59b979bc027dd7
|
|
| BLAKE2b-256 |
a8eff1aea4853f79494f6d94e7fe80f06ba3d3b0e986b67b41c2f3b62a06148b
|
File details
Details for the file bimotype_ternary-1.3.0-py3-none-any.whl.
File metadata
- Download URL: bimotype_ternary-1.3.0-py3-none-any.whl
- Upload date:
- Size: 44.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a7e3984a007b7824e3b94e8f51b2bafe349ee4689ee16746929bb8c294c44ed
|
|
| MD5 |
242e4ddb8040b41a3bfb20b4e8a93c4c
|
|
| BLAKE2b-256 |
7004b8fdb9f1bc74441c7345e6ccbd2658976ab78685e846fc8b232613747f75
|