WarOS

Quantum computing inside an operating system.

WarOS is the quantum-native operating system from War Enterprise. It combines a Rust kernel, open tooling, post-quantum primitives and a hybrid runtime that moves from bare metal boot to circuit simulation and algorithm experimentation.

Rust kernel + quantum runtime
Open source by design
Post-quantum crypto primitives
Python SDK + CLI tooling
What is WarOS?

A hybrid system stack for quantum-classical execution

WarOS spans the full path from kernel services and bare metal boot to simulation, cryptography, developer tooling and higher-level circuit APIs.

Quantum Simulator

Shor, VQE, QAOA, QFT and 200+ tests for experimentation and validation.

Post-Quantum Crypto

ML-KEM, Dilithium, SHA-3 and QRNG utilities aligned with next-gen crypto workflows.

OS Kernel

Boots bare metal on x86_64 with low-level services tuned for systems exploration.

Python SDK

Install with pip and prototype circuits, automation flows and benchmarks from Python.

OpenQASM Compatible

Import, inspect and share circuits shaped for broader quantum ecosystem workflows.

CLI Tools

REPL, bench, qstat and inspection commands for fast local iteration in WarOS.

WarOS Playground

Interactive Quantum Playground

Prototype circuits in the browser, execute them with a lightweight TypeScript simulator, then export them as OpenQASM or WarOS-flavored Python.

Bell State: Maximal entanglement between 2 qubits. / Emaranhamento maximo entre 2 qubits.Gate: H

Circuit

Click a gate, then click a qubit line

H
CNOT gate 2
M
+
CNOT gate 2
M
Hadamard - creates superposition
Pauli-X - bit flip (NOT)
Pauli-Y
Pauli-Z - phase flip
S gate - sqrt(Z)
T gate - pi/8
Measure qubit
Controlled-NOT - entanglement
Controlled-Z
Swap two qubits
Reset circuit

Results

Select a preset or build a custom circuit, then click Run to see the histogram.
Open on GitHub
Installation

Start with Python, dive into Rust, or boot the kernel

WarOS is shaped for multiple entry points. Use the SDK for fast iteration, the Rust crates for systems work, or the kernel path when you need the bare metal experience.

Install the SDK and run a quick Bell-state smoke test from the command line.

Python

WarOS installation

pip install waros

# Quick test
python -c "import waros; c = waros.Circuit(2); c.h(0); c.cnot(0,1); c.measure_all(); print(waros.Simulator(seed=42).run(c, 1000))"
Architecture

A blueprint from user space down to hardware

The WarOS stack is intentionally layered so developers can start high-level and move deeper into the kernel as their use case demands.

01

Python SDK

pip install waros

User-facing API surface for rapid prototyping, scripting, and integrations.

02

Rust Crates

waros-quantum | waros-crypto | waros-cli | waros-python

Composable crates for simulation, crypto, CLI tooling, and Python bindings.

03

Bare Metal Services

WarOS Kernel

GDT, IDT, Paging, filesystem, Networking, and the In-Kernel Quantum Simulator.

04

QEMU / Real Hardware

x86_64 Hardware

Boot and experiment on emulated or physical x86_64 targets.

Python SDK

pip install waros

Rust Crates

waros-quantum | waros-crypto | waros-cli | waros-python

Kernel

GDT | IDT | Paging | FS | Networking | In-Kernel Quantum Simulator

x86_64 Hardware

QEMU / Real Hardware

Open Source

Star the repo, inspect the code, and build with WarOS

WarOS is a public engineering surface for systems programmers, researchers and builders exploring the overlap between operating systems, simulation and post-quantum infrastructure.