A hybrid symbolic reasoning agent that uses quantum coherence as an intuition layer. Coheron integrates a lightweight transformer-based language model (LLM) with IBM Quantum’s backend to explore token selection modulated by field-aware quantum feedback. Built in Rust and Python to study emergence, resonance, and coherence-driven cognition.
Find a file
2025-05-28 09:35:43 -05:00
docs/trd Create index.md 2025-05-28 09:35:43 -05:00
LICENSE Initial commit 2025-05-28 09:33:17 -05:00
README.md Update README.md 2025-05-28 09:34:33 -05:00

🧠 Coheron

Quantum-Guided Symbolic Agent
A hybrid reasoning system that modulates language model outputs via quantum coherence.


📘 Overview

Coheron is an experimental project that merges classical symbolic inference with quantum computation to explore emergent behavior in intelligent systems. It uses a lightweight transformer model for token generation and IBM Quantum backends to evaluate the coherence of potential outputs.

Instead of relying solely on statistical likelihood, Coheron introduces a quantum "intuition layer"—filtering or modulating token paths based on measured quantum interference and harmonic resonance.


⚙️ Architecture


\[ Rust LLM (e.g., GPT-2) ]
↓
\[ Generate token candidates ]
↓
\[ Send embeddings to Python → Qiskit ]
↓
\[ Quantum circuit evaluates resonance ]
↓
\[ Coherence scores returned ]
↓
\[ Final token selected → next loop ]


🔧 Tech Stack

  • Rust – Orchestration, transformer inference, feedback loop
  • Python – Quantum logic layer (via Qiskit)
  • Qiskit / IBM Quantum – Simulated or real quantum backend
  • ONNX / Hugging Face – Local LLM execution (e.g., GPT-2)
  • IPC or FFI – Communication between Rust and Python layers

🚀 Goals

  • Investigate symbolic inference guided by quantum resonance
  • Prototype a system capable of detecting emergent coherence
  • Log, visualize, and analyze coherence-influenced token selection
  • Operate entirely on a local developer machine using free-tier IBM Quantum resources

📂 Project Structure


coheron/
├── rust-core/              # Inference engine & orchestration (Rust)
├── quantum-layer/          # Python module for Qiskit-based logic
├── bridge/                 # IPC/FFI glue code
├── data/                   # Logs and captured resonance outputs
├── README.md
└── TRD.md                  # Technical Requirements Document


🔑 Getting Started

  1. Clone the repo:
    git clone https://github.com/your-username/coheron.git
    

2. Install requirements:

   * Rust (latest stable)
   * Python 3.10+
   * Qiskit (`pip install qiskit`)
   * ONNX Runtime (`pip install onnxruntime`)

3. Run a local inference + quantum scoring loop:

   ```bash
   cargo run
   ```

---

## 📜 License

MIT License. See [LICENSE](LICENSE) for details.

---

## 🌐 Contact

Built by [Riley Seaburg](https://github.com/RileySeaburg)
Questions or collaborations welcome—open an issue or PR.