QDK · Adaptive Optimiser · preview

AI & Quantum Linux Kernel Adaptive Optimiser

One model that unifies the AI surface (insights, RAG, agentic copilots, SLM, neural feedback) with the Quantum Dev Kit stack — SDK, runtime, classical-quantum bridge and QHAL — across Linux, Windows, QNX, VxWorks and macOS.

QDK stack · top → bottom

APPQuantum Applications
SDKQDK SDK · Unified Quantum API
RTQDK Runtime + Classical-Quantum Bridge
HALQHAL · Quantum Hardware Abstraction
OSOS Layer
HWHardware

AI surface inside the optimiser

AI Insights

Telemetry → root-cause + recommendations on scheduler decisions.

Inferencing nudge

Live hints in the editor: 'switch to int8', 'co-locate shard 3 on leaf-02'.

AI Assist

Chat copilot grounded in cluster state and QDK docs.

Data Science

Notebooks wired to telemetry Parquet/DuckDB, sklearn + JAX preinstalled.

RAG

Hybrid search over runbooks, kernel symbols, QHAL calibration logs.

Agentic AI

Goal-driven agents: 'reduce p99 < 12ms', tool-use over kubectl/helm/qdkctl.

SLM

On-device small language model for offline edge nudges (≤3B params, int4).

Data Pipelines

Streaming Arrow/Flight → Vector DB + Parquet lake.

Vector DB

pgvector + LanceDB for embeddings of kernel events and code.

Neural Network OS

Scheduler is itself a small policy net trained on feedback.

Neural Feedback Loop

Online RL signal: latency, power, fabric headroom → policy update.

Knowledge Graphs

Symbols × hardware × jobs × incidents, queried by the agent.

Network Graphs

Live leaf/spine topology with congestion overlays.

Kernel integration approaches

Approach A2 · Userspace Runtime

Like CUDA / ROCm / OpenCL talking to a thin kernel driver.
  • QDK Runtime lives entirely in userspace
  • Talks to existing kernel drivers via /dev/qpu0
  • Fast iteration, language-level SDKs
  • Containerisable, K8s device-plugin friendly
Pros

Fast to ship, portable, easy to debug.

Cons

Extra syscall hops, weaker isolation guarantees vs in-kernel.

app  →  libqdk.so  →  /dev/qpu0  →  thin kernel driver  →  control HW  →  QPU

Domain × Yocto × OS guidance

DomainYocto?OS / Platform optionsNotes
AI/HPC InfrastructureNoUbuntu, RHEL, Debian, Custom LinuxEcosystem, drivers, fast iteration matter more than build-system control
Embedded / Industrial IoTYesLinux (Yocto), VxWorks, QNX, ZephyrReproducible BSP, minimal footprint, hardware-specific
AutomotiveYesLinux (Yocto + AGL), QNX, VxWorks, AUTOSARSafety standards, determinism, BSP control
Space / AerospaceYesLinux (Yocto hardened), VxWorks, RTEMSRadiation tolerance, determinism, certification
Industrial RoboticsYesLinux (Yocto), QNX, VxWorks, ROS2Real-time, deterministic, fieldbus support
QDK Control ElectronicsYesLinux (Yocto), VxWorks, QNXLow-latency quantum control hardware
QDK SDK / Dev ToolsNoUbuntu, macOS, WindowsDeveloper tooling, Python ecosystem

OS / Platform · real-time and licensing matrix

OS / PlatformTypeReal-timeOpen sourceTypical domain
Linux (Yocto)GPOS + RT possibleWith PREEMPT-RTYesEmbedded, IoT, Automotive, Space
Linux (Ubuntu)GPOSWith PREEMPT-RTYesAI/HPC, Cloud, Server, Dev
VxWorksRTOSYes, hard RTNo, proprietaryAerospace, Defense, Industrial, Space
QNXRTOS / POSIXYes, hard RTNo, proprietaryAutomotive, Medical, Industrial
ZephyrRTOSYes, hard RTYesUltra-low-power IoT, MCU-class
RTEMSRTOSYes, hard RTYesSpace, NASA, ESA certified
FreeRTOSRTOSYes, hard RTYesMCU-class embedded
AUTOSARMiddleware/OSYesNoAutomotive ECU