|
Download README.md from Snapkitty/black-hole-engine: direct link, hf CLI and curl.
- Browser
- Download file 5.3 kB
-
https://huggingface.co/Snapkitty/black-hole-engine/resolve/main/README.md
- Command line
-
hf download hf://Snapkitty/black-hole-engine/README.md
-
curl -L -o README.md https://huggingface.co/Snapkitty/black-hole-engine/resolve/main/README.md
5.3 kB
| license: other | |
| license_name: snapkitty-proprietary | |
| license_link: https://huggingface.co/Snapkitty/black-hole-engine/blob/main/LICENSE | |
| tags: | |
| - snapkitty | |
| - quantum-computing | |
| - python | |
| - lean4 | |
| # Black Hole Engine | |
| ## Multi-Backend Quantum Phase Estimation | |
| **Quantum computation as an execution substrate. Not a metaphor.** | |
| The Black Hole Engine explores quantum phase estimation across multiple hardware backends. | |
| The system targets IBM superconducting qubits, IonQ trapped ions, and Quantinuum H-series processors through a unified Q# abstraction layer. | |
| The central question: | |
| > Can quantum phase estimation be treated as a general computation primitive, independent of the specific quantum hardware executing it? | |
| --- | |
| # The Problem | |
| Quantum computation is typically presented as backend-specific. | |
| ```text | |
| ALGORITHM | |
| β | |
| SPECIFIC HARDWARE | |
| β | |
| SPECIFIC CONSTRAINTS | |
| β | |
| SPECIFIC RESULTS | |
| ``` | |
| The algorithm becomes entangled with the hardware. | |
| The Black Hole Engine separates them. | |
| --- | |
| # Architecture | |
| ```text | |
| QUANTUM STATE | |
| β | |
| CIRCUIT (backend-agnostic) | |
| β | |
| PHASE ESTIMATION | |
| β | |
| BACKEND SELECTION | |
| β | |
| βββ IBM (superconducting) | |
| βββ IonQ (trapped ion) | |
| βββ Quantinuum (H-series) | |
| β | |
| MEASUREMENT | |
| β | |
| VERIFICATION | |
| ``` | |
| The same algorithm. | |
| Different physical substrates. | |
| Comparable results. | |
| --- | |
| # Components | |
| | File | Purpose | | |
| |------|---------| | |
| | `QuantumPrimitives.qs` | Core quantum operations and abstractions | | |
| | `Phase2Engine.qs` | Phase estimation engine (Phase 2 protocol) | | |
| | `IBM.qs` | IBM superconducting backend targeting | | |
| | `IonQ.qs` | IonQ trapped ion backend targeting | | |
| | `Quantinuum.qs` | Quantinuum H-series backend targeting | | |
| | `run_phase2.py` | Python orchestration for Phase 2 execution | | |
| --- | |
| # Phase Estimation | |
| Phase estimation extracts eigenvalues from unitary operators. | |
| ```text | |
| UNITARY OPERATOR U | |
| β | |
| EIGENSTATE |Οβ© | |
| β | |
| U|Οβ© = e^(2ΟiΞΈ)|Οβ© | |
| β | |
| ESTIMATE ΞΈ | |
| ``` | |
| The Black Hole Engine implements this as a computation primitive. | |
| The name comes from the connection between phase estimation and black hole information theory. | |
| Information encoded in a quantum phase is: | |
| * present | |
| * extractable | |
| * but not directly observable without the right measurement basis | |
| --- | |
| # Backend Independence | |
| Each backend has different: | |
| * gate sets | |
| * connectivity constraints | |
| * error characteristics | |
| * measurement fidelity | |
| The Q# layer abstracts these differences. | |
| The backend-specific files handle transpilation. | |
| ```text | |
| Q# CIRCUIT (logical) | |
| β | |
| TRANSPILATION | |
| β | |
| NATIVE GATE SET | |
| β | |
| HARDWARE EXECUTION | |
| β | |
| RAW MEASUREMENT | |
| β | |
| POST-PROCESSING | |
| β | |
| PHASE ESTIMATE | |
| ``` | |
| The same logical circuit produces comparable phase estimates regardless of which physical system executes it. | |
| --- | |
| # Technologies | |
| ```text | |
| Q# β Quantum circuit description and simulation | |
| Python β Orchestration and result analysis | |
| ``` | |
| Q# was chosen because it provides: | |
| * a type system for quantum operations | |
| * simulation capabilities for development | |
| * targeting to multiple physical backends | |
| * a separation between logical and physical circuits | |
| --- | |
| # The Quantum Substrate | |
| The Black Hole Engine treats quantum computation the way XREX Unified Attention treats GPU computation. | |
| Not as a destination. | |
| As a substrate. | |
| ```text | |
| CLASSICAL COMPUTATION | |
| β | |
| what happens here is well understood | |
| QUANTUM COMPUTATION | |
| β | |
| what happens here is the research question | |
| ``` | |
| The engine does not assume quantum computation is better. | |
| It investigates what quantum computation makes possible that classical computation does not. | |
| --- | |
| # Research Philosophy | |
| ### Phase is information | |
| A quantum phase encodes information that is physically real but not directly observable. | |
| Extracting that information requires specific measurement strategies. | |
| ### Hardware is not neutral | |
| Different quantum hardware produces different error profiles. | |
| The same algorithm on different backends is not the same computation. | |
| Understanding those differences is part of the research. | |
| ### Simulation is not execution | |
| Simulating a quantum circuit on a classical computer tells you what the circuit computes. | |
| It does not tell you what the hardware does when it executes that circuit. | |
| The gap between simulation and execution is where the interesting physics lives. | |
| --- | |
| # Getting Started | |
| ```bash | |
| git clone https://github.com/SNAPKITTYWEST/black-hole-engine.git | |
| cd black-hole-engine | |
| # Run Phase 2 estimation (simulation mode) | |
| python run_phase2.py | |
| # Explore quantum primitives | |
| cat QuantumPrimitives.qs | |
| ``` | |
| Requires: .NET SDK, Q# development kit, Python 3.10+. | |
| --- | |
| # Status | |
| **Research / Experimental** | |
| The engine explores quantum phase estimation as a computation primitive. | |
| Backend targeting requires access to the respective quantum hardware platforms. | |
| Simulation mode is available for development and verification. | |
| --- | |
| # Copyright | |
| Copyright BEL ESPRIT D ACCORD TRUST HOLDINGS INC. | |
| See [`LICENSE`](LICENSE) for the governing terms. | |
| --- | |
| ```text | |
| phase is information. | |
| measurement is extraction. | |
| the substrate matters. | |
| own the computation. | |
| ``` | |
| --- | |
| ## License | |
| Licensed under **SnapKitty Proprietary License**. Full text: [LICENSE](LICENSE). | |