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
FIG 01 · One typed IR from any frontend to any backend — every run signed
157
Passing tests
Phases 1–6
Shipped
16
CLI commands
Apache-2.0
Open licence
Quantum crossed three thresholds. The toolchain didn't follow.
01
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.
02
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.”
03
Toolchain didn't follow
Qiskit, Cirq, PennyLane and friends remain provider-centric. Cross-modality programs require bespoke glue. Auditability is an afterthought.
Quantum tooling needs engineering context, signed runs, and reproducible diagrams.
qmesh now has a professional visual layer around the compiler story: cross-modality frontends, signed manifests, fault-tolerant promotion, and audit-ready execution paths.

FIG 02 · Compiler operations — engineering context for signed quantum runs
Six things qmesh does, that nothing else does together.
01
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.
02
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.
03
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.
04
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.
05
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.
06
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.
From SDK to signed manifest, in six stages.
Each stage shows the IR primitives, the matching CLI surface, and the active flag at that point in compilation.
Frontend
Programs enter qmesh from the SDK you already use. No rewrite required — Qiskit, Cirq, PennyLane, Pulser, Strawberry Fields, MrMustard and Bloqade all map into the typed IR.
- Qiskit · Cirq · PennyLane gate-frontends
- Pasqal Pulser (Rydberg / neutral-atom)
- Strawberry Fields · MrMustard (photonic-CV)
- Bloqade (analog Rydberg)
- OpenQASM 3 · OpenPulse direct ingest
from qmesh.frontends import qiskit_to_ir
ir = qiskit_to_ir(qc)Active flagfrontend=auto
qmesh.ir
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 flagir=qmesh.ir.v1
FT mode
Promote any IR program to fault-tolerant execution with a single config flag. Surface code, repetition code, BB qLDPC, and Gidney-Shutty cultivation are all interchangeable. Decoder choice is also a flag.
- Surface · Repetition · BB qLDPC · Cultivation
- PyMatching · sliding-window · BP+OSD · neural decoder
- Resource estimates in Microsoft RE shape
- All FT artefacts signed end-to-end
ir.promote(code="surface", d=5,
decoder="pymatching")Active flagft=on, code=surface, d=5
DAG scheduler
Hybrid quantum-classical DAGs scheduled topologically across local executors, SLURM, and PBS. Crash-safe resume via signed parent_manifest_hash lineage — pick up exactly where you left off.
- Typed DAG nodes (QPUPrimitive, ClassicalTask, MCMRegion, Barrier, Fanout, EntanglementBarrier)
- Topological executor with thread-pool parallelism
- SLURM / PBS connectors
- Crash-safe resume via signed lineage
qmesh schedule run.dag \
--executor slurm \
--resume-from <manifest_hash>Active flagscheduler=dag, executor=slurm
Backends
Compiled program dispatched to the matching backend. Aer, Stim, QutipEmulator, OpenPulse for simulation; IBM, IonQ, QuEra, Pasqal, Atom, Xanadu, PsiQuantum for hardware — all with the same signed-manifest contract.
- Simulation: Aer · Stim · QutipEmulator · OpenPulse
- Superconducting: IBM Heron · Google Willow
- Trapped-ion: Quantinuum Helios · IonQ
- Neutral-atom: QuEra · Pasqal · Atom Computing
- Photonic-CV: Xanadu · PsiQuantum
qmesh submit ir.json \
--backend ibm_torino \
--shots 4096Active flagbackend=ibm_torino, shots=4096
Signed manifest
Every run writes an ed25519-signed manifest into the ledger. Manifests are tamper-evident, offline-verifiable, and chain through parent_manifest_hash so an entire experimental campaign forms a verifiable Merkle-style hash chain.
- ed25519 signed manifest per run
- Tamper-evident compliance pack
- Offline-verifiable hash chain
- Cert-chain trust model with TrustStore
- Metriq export for public benchmarking
qmesh check ledger/2026-05-10/<hash>.json
# ✓ signature valid, parent verified, chain depth: 47Active flagmanifest=ed25519, ledger=on
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.
| Hardware | Qiskitgate | Cirqgate | PennyLanegate / hybrid | PulserRydberg | SF / MrMphotonic-CV | Bloqadeanalog Rydberg | OpenQASM 3portable | Notes |
|---|---|---|---|---|---|---|---|---|
| IBM HeronSuperconducting (gate) | Frontend & backend | Frontend only | Frontend only | — | — | — | Frontend & backend | Primary QANTIS hardware target |
| Google WillowSuperconducting (gate) | Frontend only | Frontend & backend | Frontend only | — | — | — | Frontend & backend | Cirq native frontend |
| Quantinuum HeliosTrapped-ion (gate) | Frontend only | Frontend only | Frontend only | — | — | — | Frontend & backend | Microsoft RE shape supported |
| IonQTrapped-ion (gate) | Frontend only | Frontend only | Frontend only | — | — | — | Frontend & backend | Modular interconnect roadmap |
| QuEraNeutral-atom | — | — | — | Frontend & backend | — | Frontend & backend | — | Analog Rydberg + ChannelOp |
| PasqalNeutral-atom | — | — | — | Frontend & backend | — | — | — | Pulser-native pipeline |
| Atom ComputingNeutral-atom | — | — | — | Frontend only | — | Frontend only | — | Beta connector |
| XanaduPhotonic-CV | — | — | — | — | Frontend & backend | — | — | Strawberry Fields native |
| PsiQuantumPhotonic-CV | — | — | — | — | Frontend only | — | — | MrMustard interop, planned backend |
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.
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.
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