David Coldeira · Bristol, UK

A quantum language.
An assistant that runs it live.

QRL is a relations-first quantum programming language where causal structure is a type-level primitive. Bell puts it in front of anyone — plain English in, real QRL code executed, real numbers out. Both are open research I work on in my own time, built with Froe, an open-source coding agent.

About QRL Try Bell Email
The research

A language, an assistant for it, and the tool that builds both

Three pieces, one practice: describe the physics precisely, make it usable by someone who isn't its author, and build it all with an open-source tool that runs on my own machine.

1

QRL

Relations-first quantum language

Causal structure as a type-level primitive: a program's type says whether its causal order is definite, and the quantum switch has a type of its own, Switch(d).

2

Bell

Fine-tuned assistant, live now

Plain English in, real QRL code executed, real numbers out — not the model guessing a number. Provider-swappable: running on Mistral (EU-hosted) today, a self-hosted fine-tune in standby.

3

Froe

The open-source tool behind both

An open-source coding agent that runs on your own machine, with open models on llama.cpp. A single Go binary for the terminal and Neovim, used to build QRL and Bell.

QRL implements five foundational papers — process matrices (Oreshkov 2012), causal nonseparability witnesses (Araújo 2015), quantum causal models (Allen 2017), loophole-free Bell tests (Hensen 2015), and categorical quantum mechanics (Coecke & Kissinger 2017) — with a full compiler pipeline from relations to MBQC measurement patterns across four backends (Perceval, PennyLane, graphix, Qiskit), hardware-verified on Quandela's qpu:belenos photonic QPU (S = 2.61 ± 0.08).

~15,100 lines 968 tests passing 31 modules Preprint on Zenodo
Writing

Notes on putting language models behind a verifier