Skip to content

jakobmina/bimotype-ternary

Repository files navigation

BiMoType-Ternary: The Metriplectic Quantum Framework

logo

Bridging Ternary Topology, Nuclear Physics, and Secure P2P Quantum Communication

Quantum Security Tests Python

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:

  1. Symplectic Component (Hamiltonian $H$): Generates conservative, reversible motion (Schrödinger evolution).
  2. Metric Component (Entropy $S$): Generates irreversible relaxation toward an attractor (Radioactive decay).
  3. No Singularities: We balance the dual brackets to avoid numerical explosion or thermal death.
  4. 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 FirmaRadiactiva and EstadoCuantico for 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:

# Una vez instalado el paquete
bimotype --gui

P2P Communication via CLI

You can also run listening peers or send data via command line:

# Iniciar escucha P2P
bimotype --listen

# Enviar mensaje a un fingerprint específico
bimotype --send <DEST_FINGERPRINT> --message "Psimon_H7"

Key Generation Demo

bimotype --crypto 42

🧬 Metriplectic Console & Mobile UX

BiMoType-Ternary now features a premium, physics-grounded mobile interface built with Flet.

  • Metriplectic Monitor: Real-time visualization of the competition between the Symplectic ($H$) and Metric ($S$) brackets, ensuring physical stability.
  • Hardware Fingerprinting: Identity management via secure, recursive hardware signatures.
  • Glassmorphism Design: High-premium dark theme with intuitive component distribution for P2P and QR transfers.
  • Ternary Messaging: Full support for ternary encoded (-1, 0, +1) packets via secure channels.

🏗️ Project Structure

bimotype-ternary/
├── bimotype_ternary/     # Core Library
│   ├── core/             # 🧠 Session & Recursive Engines
│   ├── crypto/           # 🔐 Cryptography & QR Offline Transfer
│   ├── database/         # 🗄️ SQLite Persistence & Models
│   ├── network/          # 📡 P2P, Discovery & Handshake
│   ├── physics/          # ⚛️ Metriplectic Dynamics
│   ├── topology/         # 🌀 Ternary Coding & H7 Seeds
│   ├── gui.py            # 🧪 Desktop Dashboard (Streamlit)
│   └── mobile_gui.py     # 📱 Mobile Metriplectic Console (Flet)
├── tests/                # 🧪 Physics & Security Test Suite
└── README.md             # 📜 This documentation

🧪 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/

📄 License & Credits

  • Author: Jacobo Tlacaelel Mina Rodriguez
  • Principles: Marco de la Analogía Rigurosa (TLACA)
  • License: MIT

Built for a rigorous and secure quantum future.

About

BiMoType-Ternary Integration Framework es un marco revolucionario de comunicación cuántica que combina codificación topológica ternaria con firmas de desintegración radiactiva para transmisión de mensajes segura y verificable físicamente. Implementa el Mandato Metripléctico para sistemas híbridos cuántico-clásicos robustos.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors