HUB
Sign inSign up
nanobits-q logo

credkellar/nanobits-q

By credkellar

•Updated 14 days ago

NanoBits-Q: quantum nano-bits lab, 7 qubit types, simulator, Grover/Shor, 20 scout bots + VerifyBot!

Image
Machine learning & AI
Developer tools
Data science
1

161

credkellar/nanobits-q repository overview

⁠NanoBits-Q ⚛️🧬

Quantum computing nano-bits technology lab — 7 qubit modalities at nanoscale, a ≤6-qubit statevector simulator, decoherence + surface-code error-correction math, Grover & Shor teaching demos, merged from-scratch SLM / LLM / ML / NNL models, a 20-bot scout fleet with a VerifyBot repeat guard, a DeconstructionScout that breaks down the Top 20 company inventions and creates 10 NEW concept inventions, a 5-bot novelty squad that checks whether anyone already created the same thing, plus Gemini Argon 4 Extended Thinking as decider brain and Google Flow (4 flows, plan-only).

Pure Python standard library. Zero dependencies. Zero network. Educational local simulation only — no live quantum hardware; every real-hardware action is a permanent HOLD gate (17 total).

⁠🐳 Quick start

docker pull credkellar/nanobits-q:latest
docker run --rm credkellar/nanobits-q:latest

The default command runs the full demo: Bell state, Grover + Shor results, scout cycles with VerifyBot, and the built-in self-checks (CHECKS 69/69).

Run a specific command instead:

docker run --rm credkellar/nanobits-q:latest python3 main.py modalities   # the 7 nano-bit modalities
docker run --rm credkellar/nanobits-q:latest python3 main.py bell         # {'00': 0.5, '11': 0.5}
docker run --rm credkellar/nanobits-q:latest python3 main.py grover       # 0.9966 vs classical 0.015625
docker run --rm credkellar/nanobits-q:latest python3 main.py shor --n 21  # 21 = 3 x 7
docker run --rm credkellar/nanobits-q:latest python3 main.py ecc          # 100 logical @0.1% = 105,800 physical
docker run --rm credkellar/nanobits-q:latest python3 main.py scouts       # gather -> test -> verify -> sandbox
docker run --rm credkellar/nanobits-q:latest python3 main.py invent       # 10 NEW concept inventions
docker run --rm credkellar/nanobits-q:latest python3 main.py priorart     # did anyone build the same thing?
docker run --rm credkellar/nanobits-q:latest python3 main.py brains       # Argon 4 + Google Flow seats
docker run --rm credkellar/nanobits-q:latest python3 main.py checks       # CHECKS 69/69

⁠⚛️ What's inside

  • 7 qubit modalities — silicon spin dot (40 nm), superconducting, diamond NV/SnV, photonic, trapped ion, neutral atom, topological (labelled unproven) — each with size, temperature, gate time, coherence, reported fidelity, strength, and weakness.
  • Real simulator math — hand-written statevector engine (H / X / Z / phase / CNOT). Bell and GHZ states come out at exact probabilities.
  • The honest numbers — decoherence T2 decay model; surface-code estimator (the ~1,000:1 error-correction tax); Grover labelled quadratic-only (it does not break AES-256); Shor scoped to RSA/ECC.
  • 4 merged models, from scratch — TinySLM (bigram summarizer), TinyLLM (trigram drafter), ML kNN classifier, TinyMLP 4-8-1 neural net. Advisory only; they can never override a HOLD gate.
  • 20 scout bots gather local information (zero network), test 8 formulas (1 is deliberately wrong and must fail), and deploy passes to a sandbox registry only.
  • VerifyBot repeat guard — re-runs every formula itself, sha256-fingerprints it, and blocks exact, renamed, and semantic repeats. Cycle 2 deploys 0.
  • DeconstructionScout + Top 20 — Google Willow, IBM Nighthawk/Loon, Microsoft Majorana, Quantinuum Helios, IonQ, QuEra, and 14 more, deconstructed into components and recombined 3-parents-at-a-time into 10 NEW concept inventions (data-only specs — not built, not patented, not claimed to work).
  • Novelty squad (5 bots) — PriorArtScout, PatentScout, PaperScout, GitHubScout, NewsScout check the project name + all 10 concepts against a dated prior-art snapshot from live web searches (2026-11-14). Result: no exact same combination found; closest is N03 at 0.83 similarity — essentially IBM's own roadmap, flagged openly.
  • Gemini Argon 4 Extended Thinking (Gemini Carbon 4) — DECIDER seat: MAP → MODEL → STRESS → DECIDE with hashed traces, thinking tiers 2048 / 8192 / 32768, key names-only, live calls 0, can tighten but never override HOLD.
  • Google Flow — all 4 flows plan-only: FlowX task graph, Workspace Studio drafts, Filmmaking 5-shot storyboard, DataX data-flow. Nothing renders, nothing is sent.

⁠✅ Verified

  • pytest: 74 passed
  • Built-in checks: CHECKS 69/69
  • GitHub CI: green on every push
  • Base image: python:3.12-slim
Tag summary
Recent tags
Content type
Image
Digest
sha256:a64f67393…
Size
41.4 MB
Last updated
14 days ago
docker pull credkellar/nanobits-q:latest