Quantum Forge

Build Games with Real Quantum Mechanics

A compiled C++ SDK with web and game engine integrations. Superposition, entanglement, and interference as simple game properties. Not random numbers.

A new kind of emergent gameplay

Quantum mechanics is a new playground for game designers. Superposition, entanglement, and interference are real physical laws tied to the fundamental fabric of the universe. The emergent gameplay they produce is unlike anything available from classical systems.

Structure, Not Randomness

Superposition isn't "maybe." It's all states at once, with mathematical relationships intact. Interference creates patterns. Entanglement creates correlations. The resulting behavior feels designed, but nobody wrote it.

Players Discover, Designers Don't Dictate

When quantum states entangle, they create correlations across your entire game. Players find strategies you never planned. Speedrunners exploit quantum effects you didn't know were there.

Proven in Production

Four games built on Quantum Forge. A Caltech IQIM × LCAD game jam where student teams built playable quantum games in one week. This isn't a whitepaper.

Three steps to quantum gameplay

No physics degree required. Not for you, not for your players.

01

Define quantum properties

Declare a property by the values it can take. A coin has two, a door with three destinations has three. Each property becomes a qudit in the simulation.*

*The free Qutrit Edition supports 2 or 3 values per property. More values available via custom builds or commercial license.

02

Let players shape the quantum state

Give players tools that influence state evolution: actions, abilities, or choices that apply quantum operations. They discover that their choices create interference patterns, correlations, and strategies that feel new.

03

Measure to resolve

You decide when the quantum state collapses into a definite outcome. Everything the player did to shape the state influences what they get.

quantum-door.ts
import { ensureLoaded, quantum } from "quantum-forge/quantum";
await ensureLoaded();

// 1. Define: a door with three possible destinations
const door = quantum(["forest", "castle", "cave"]);
door.superpose();  // all three destinations at once

// 2. Player shapes the state: a crystal turns the phase
function onUseCrystal(strength: number) {  // 0 to 1
  door.phase(strength);
  door.superpose();  // the paths interfere and the odds shift
}

// A key that interacts with the door ends up entangled with it
const key = quantum(["forest", "castle", "cave"]);
key.next({ when: [door.is("castle")] });
key.previous({ when: [door.is("cave")] });

// 3. Resolve: the player steps through and the state collapses
const destination = door.measure();  // "forest", "castle" or "cave"
key.measure() === destination;        // true, every time

Shipping games. Real quantum mechanics.

Every game below runs real quantum simulation. Superposition, entanglement, and interference drive the core gameplay, not the art direction.

Q
Play Now

Quantris

Tetris meets quantum mechanics. Blocks exist in superposition until measured. Entangle pieces across the tower. Clear lines by collapsing reality.

Superposition Entanglement Measurement
Play Quantris
C
On Steam

Quantum Chess

Chess with quantum moves. Pieces exist in superposition across multiple squares. Entangle pieces, split moves, and use interference to outmaneuver your opponent.

Superposition Entanglement Strategy
View on Steam
P
Play Now

Ponq

Quantum pong with entangled balls. Balls split and recombine through quantum zones. Phase affects trajectory. Measure to score.

Entanglement Phase Interference
Play Ponq
B
Play Now

Bloch Invaders

Space invaders on the Bloch sphere. Damage scales with quantum state overlap. Enemies decohere, entangle, and implement the quantum Zeno effect.

Bloch Sphere Decoherence Overlap
Try the Demo

In 2024, we partnered with Caltech's IQIM and LCAD to run a quantum game jam. Student teams built playable quantum games in one week using Quantum Forge.

Interference you can play with

Two toys, one simulator. Both run the real Quantum Forge engine in your browser. Nothing on either board is scripted or rolled with a random number.

The ball splits in the middle and bounces off both paddles at once. Each paddle gives its half a spin. When the halves meet, the spins decide which goal the ball comes out of. Hit the lit goal.

Same color: top goal Opposite colors: bottom goal

See the code that runs
src/pong/shot.js

This is the whole quantum side of the game, printed from the same file the page runs. The lit lines are the step the ball is on. quantum(2) is a two-valued property, iSwap(…, 0.5) splits one ball across two tracks, and phase() is the spin.

No dice anywhere. The goal is picked by one measurement in the simulator when the ball reaches the goal line. Exactly matching or exactly opposite spins are certain every time; anything in between is a weighted coin, and the percentages by the goals are the weights.

Choose your platform

The web framework is the fastest way to prototype. Unity gives you quantum mechanics inside a full production pipeline. Unreal support is coming.

Web Framework

TypeScript + WASM. Hot-reload, built-in renderer, game loop, input handling. The fastest path from zero to quantum game.

$ npm i quantum-forge $ npm i quantum-forge-engine Read the Docs
Game Engine

Unity Package

Native C# integration via Unity Package Manager. Drag-and-drop quantum components. Build for desktop, mobile, and WebGL.

UPM > Add package from git URL... View on GitHub
In Development

Unreal Engine

The core C++ SDK works in Unreal today. We're building the engine plugin for editor integration and Blueprint support. Tell us what you'd build.

Let's Build Together

TypeScript and C# packages are MIT licensed: wrappers, tooling, and all platform-specific functionality. The core C++ SDK ships as a compiled binary, free for applications under $100K annual revenue. Commercial licensing for larger projects is coming. Reach out and we'll figure it out together.

Build together

Quantum game design is a new frontier. The mechanics work today. The hardware is maturing fast. Start learning the patterns now, and grow with the technology into experiences that classical hardware will never be able to produce.

Chris Cantwell, founder. EE/CS/Physics at USC. Working with Dr. Spyridon Michalakis at Caltech IQIM since 2014 on quantum games, outreach experiences, and AI for quantum game states. Quantum Forge is the result: a decade of iterations on the core engine, refined by shipping real games.

Discord is home base

Ask questions, share your quantum games, get help from the community and the Quantum Forge team.

Join Discord

Partnership inquiries or just want to talk quantum game design? [email protected]

Academic Partners

We partner with Caltech IQIM and LCAD on quantum outreach, education, and creative design — making quantum mechanics accessible through play.