This repository is a placeholder. The QProgram implementation is not public yet. The source will be published here once it is open-sourced.
QProgram is a hardware-agnostic Python domain-specific language for pulse-level quantum programming, designed around portability, extensibility, and maintainability.
Beneath the circuit abstraction, every quantum operation is a timed analog control signal. Programming at that pulse level is indispensable for calibration, characterization, and high-fidelity gate design — but existing pulse-level tools tie an experiment to a single control stack, mixing scientific intent, calibration, channel mapping, and vendor instructions into one fragile layer of code.
QProgram treats a pulse experiment as an inspectable, platform-independent program object:
- A vendor-agnostic pulse DSL. A fluent builder constructs a composable abstract syntax tree describing what an experiment does, independent of how any platform runs it.
- A decoupled, extensible architecture. The core has no knowledge of any instrument; vendor-specific operations plug in as separate packages that load on demand.
- A capability-based validation protocol. Each platform declares the part of the language it supports; the toolchain checks a program against that declaration, shows how it would run, and can rewrite it to fit.
- A portable serialization format. The
.qptext format is human-readable, version-checked, and round-trip safe.
A program passes through six steps — Define → Serialize → Explain → Optimize →
Execute → Results. QProgram owns all but Execute, which is carried out by a
platform the user supplies. Results come back shaped by the program that produced
them, as labeled xarray arrays whose axes are named by the program rather than
returned as unlabeled buffers.
The design is described in "QProgram: A Hardware-Agnostic DSL for Portable Pulse-Level Quantum Programming" by Vyron Vasileiadis, Flavie Le Bars, and David Arcos (Qilimanjaro Quantum Tech, Barcelona, Spain).
Nothing to install or run yet. Watch this repository for the initial source release.
Qilimanjaro Quantum Tech — https://qilimanjaro.tech