Quantum substrate · Apache-2.0 · Public preview
The quantum substrate of the Neura Parse stack.
One IR. Every modality. Provenance by default. Fault-tolerant ready. qmesh is the missing layer above Qiskit, Cirq and PennyLane — a single intermediate representation that crosses gate, neutral-atom, photonic-CV and pulse modalities, with an AI-augmented compilation path and runtime where every result is signed, chained, and audit-ready by default.
Frontends
qiskit · cirq · pennylane · pasqal · sf · bloqade
qmesh.ir (typed, content-hashed)
QPUPrimitive · ClassicalTask · ChannelOp · DAG
FT mode (single flag)
surface · BB qLDPC · cultivation
Backends · ed25519-signed manifest
Aer · Stim · QutipEmulator · OpenPulse · IBM · IonQ
157
Passing tests
Phases 1–6
Shipped
16
CLI commands
Apache-2.0
Open licence
Why qmesh, why 2026
Quantum crossed three thresholds. The toolchain didn't follow.
Logical qubits beat physical
Quantinuum H2 reached Microsoft Level 2 Resilient with logical error rates 800× below physical. IBM Kookaburra (4,158 qubits) is on the 2026 roadmap. IonQ committed to 80,000 logical qubits via modular trapped-ion interconnects.
Modality boundaries dissolved
Photonic interconnects between trapped-ion and neutral-atom systems shipped commercially in April 2026 (IonQ, Cisco UQS). Neutral-atom platforms are Spectrum's “2026 big leap.”
Toolchain didn't follow
Qiskit, Cirq, PennyLane and friends remain provider-centric. Cross-modality programs require bespoke glue. Auditability is an afterthought.
Pillars
Six things qmesh does, that nothing else does together.
Modality-agnostic IR
A single typed IR (qmesh.ir) for gate, neutral-atom, photonic-CV and pulse programs. Deterministic content-hash. Cross-frontend semantic equivalence — write once, run on any backend the program is compatible with.
Fault-tolerant mode
Surface, repetition, BB qLDPC and cultivation-aware lattice surgery — promotion is a single config flag. PyMatching, sliding-window, BP+OSD and neural decoders are interchangeable. Resource estimates in the Microsoft RE shape, signed end-to-end.
Modality reach
Pasqal Pulser, Strawberry Fields, MrMustard, Bloqade frontends. QutipEmulator, Aer, Stim, OpenPulse backends. First-class ChannelOp lets a single program cross modalities — gate → Rydberg → CV in one signed run.
Hybrid DAG scheduler
Typed DAG nodes (QPUPrimitive, ClassicalTask, MCMRegion, Barrier, Fanout, EntanglementBarrier). Topological executor with thread-pool parallelism. SLURM / PBS connectors. Crash-safe resume via signed parent_manifest_hash lineage.
AI copilot
Intent compiler for common patterns. LLM provider abstraction (Ollama / Anthropic / OpenAI / Mock). Token-level grammar masking with real-time GrammarMaskedProvider. Neural decoder training pipeline (Stim → PyTorch → signed weights). QuanBench evaluation suite.
Provenance & compliance
Every run produces an ed25519-signed manifest. Tamper-evident compliance packs with offline-verifiable hash chains. Cert-chain trust model with TrustStore. Metriq export for public benchmarking. Designed for regulated industries.
Pipeline
From SDK to signed manifest, in six stages.
Click any stage to see the IR primitives, the matching CLI surface, and the active flag at that point in compilation.
Every program lowers to a single typed intermediate representation with deterministic content-hash. Two semantically equivalent programs produce identical hashes — across frontends, across modalities.
- Typed nodes: QPUPrimitive, ClassicalTask, ChannelOp, MCMRegion
- Cross-frontend semantic equivalence
- Deterministic SHA-256 content-hash
- First-class ChannelOp lets gate → Rydberg → CV in one program
ir.hash() # 'ab1c4f...e8d2' (deterministic across frontends)
Active flag
ir=qmesh.ir.v1
Click any stage to inspect its inputs, primitives, and the qmesh CLI surface at that point in the pipeline.
Hardware reach
All four modalities. One program. Inspected per backend.
The compatibility matrix below shows which SDK frontend or backend connector is active for each hardware vendor. Filter by modality to focus.
| Hardware | Qiskit gate | Cirq gate | PennyLane gate / hybrid | Pulser Rydberg | SF / MrM photonic-CV | Bloqade analog Rydberg | OpenQASM 3 portable | Notes |
|---|---|---|---|---|---|---|---|---|
IBM Heron Superconducting (gate) | FB | F | F | — | — | — | FB | Primary QANTIS hardware target |
Google Willow Superconducting (gate) | F | FB | F | — | — | — | FB | Cirq native frontend |
Quantinuum Helios Trapped-ion (gate) | F | F | F | — | — | — | FB | Microsoft RE shape supported |
IonQ Trapped-ion (gate) | F | F | F | — | — | — | FB | Modular interconnect roadmap |
QuEra Neutral-atom | — | — | — | FB | — | FB | — | Analog Rydberg + ChannelOp |
Pasqal Neutral-atom | — | — | — | FB | — | — | — | Pulser-native pipeline |
Atom Computing Neutral-atom | — | — | — | F | — | F | — | Beta connector |
Xanadu Photonic-CV | — | — | — | — | FB | — | — | Strawberry Fields native |
PsiQuantum Photonic-CV | — | — | — | — | F | — | — | MrMustard interop, planned backend |
Legend
For regulated industries
Built for the sectors we already serve.
| Sector | What qmesh enables |
|---|---|
| Defense | Cert-chain signed runs, tamper-evident audit packs, classical+quantum DAG with SLURM / PBS. |
| Aerospace | Quantum navigation (QANTIS) compiled through qmesh; reproducible, manifest-signed flight pipelines. |
| Industrial | Hybrid optimisation pipelines with HPC connectors; Mitiq ZNE mitigation for noisy-era runs. |
| Healthcare | Compliance pack with offline-verifiable hash chain; cert-chain trust model satisfies regulatory provenance. |
| Automotive | Sensor-fusion + quantum-accelerated planning via cross-modality DAGs. |
Composes — does not replace
qmesh is the layer above your favourite SDK.
We don't want to replace Qiskit, Cirq, or PennyLane. We want to give you a single program — written once, signed always, runnable on any modality — that those frontends can compile into. Bring the SDK you already know.
Quick start
Five examples ship in the repo.
$ pip install -e ".[all]" # 1 — Hello, quantum $ python3 examples/hello_bell_crossbackend.py # 2 — A real algorithm $ python3 examples/vqe_h2.py # E = −1.859 vs FCI −1.857 # 3 — Fault-tolerant memory $ python3 examples/ft_logical_memory.py # Λ = 23 across d=3 → d=5 # 4 — Cross-modality, single signed run $ python3 examples/dag_cross_modality.py # gate → Rydberg → CV # 5 — Compliance pack for auditors $ python3 examples/compliance_export.py # signed chain, offline-verifiable # Service mode $ uvicorn qmesh.service.app:app --port 8788 # CLI (16 commands) $ qmesh submit circuit.qasm --shots 4096 $ qmesh check ledger/2026-05-02/<hash>.json $ qmesh compliance-pack ./ledger --since 2026-05-01