IBM and AMD release Pelagos, a GPU tool for quantum decoder testing

In short

What does Pelagos do?

A quantum computer's qubits pick up errors all the time. Error correction spreads one piece of quantum information across many physical qubits and checks them again and again. IBM's post describes the decoder as the classical software that "reads each round of checks, works out which errors occurred, and has to keep pace with the quantum processor."

Before a decoder is trusted on real hardware, researchers simulate it. IBM's post says they "simulate billions of possible error patterns, feed them into the decoder, and observe how well it corrects them," and that this "takes a lot of classical compute time." Pelagos is built to speed up that step.

The white paper explains why the step is so expensive. Useful fault-tolerant machines will need logical error rates around 10^-12. Plain random sampling needs on the order of 1/ε decoded samples to measure an error rate ε, so in practice it stops working at rates around 10^-6.

The decoder Pelagos runs is Relay-BP, a version of belief propagation (a message-passing method used for classical error-correcting codes) built for quantum low-density parity-check (qLDPC) codes. AMD's article says it works by "successive decoding attempts, like legs in a relay race." Its main targets are bivariate bicycle codes.

Pelagos is written in Triton, a Python-based language for writing GPU programs. IBM's post says it runs on both AMD and NVIDIA GPUs; the project's README adds Intel GPUs. AMD says Triton tunes details such as memory layout for each GPU automatically. The name comes from the Greek word for "open sea."

The numbers

Each "8 vs 1" comparison uses eight GPUs of the same model, so MI300X and MI355X were tested separately. AMD's article notes that these "are workflow comparisons within each platform, not a performance comparison between the two GPU models." (IBM's post describes the run as "across eight AMD Instinct MI300X and MI355X accelerators," and rounds both results to 7.5 times.)

Why the multi-GPU work was needed

The white paper says each GPU decodes its own slice of the batch without swapping messages with the others, so the bottleneck was the CPU. The original version prepared every GPU's input one after another, so preparation time grew with the number of GPUs. On MI355X, CPU preparation per batch rose from 0.129 to 0.974 seconds going from one to eight GPUs (one-gross code). After the change it rose only from 0.132 to 0.222 seconds.

The fix has three parts: one separate worker process per GPU, input preparation done in parallel, and results gathered through shared memory.

Two block diagrams: on top, one Python process with host preparation feeding three host threads, each driving one GPU; below, a CPU coordinator and a parallel shard-preparation step feeding three separate persistent worker processes, each with its own GPU, and results returned through a shared-memory output

Before and after: the original Pelagos drove every GPU from threads in one Python process and prepared inputs one after another; the new design gives each GPU its own worker process, prepares inputs in parallel and gathers results through shared memory. Tang, Diamantopoulos et al. (AMD and IBM Research), arXiv (2026), Fig. 1, CC BY 4.0.

What to notice: The white paper says host-side preparation, dispatch and result handling, not the decoding on each GPU, limit end-to-end scaling.

The caveats

Where it fits

The white paper's authors ran Pelagos on Lux, an AMD MI355X supercomputer at Oak Ridge National Laboratory (ORNL). IBM's post describes Pelagos alongside a quantum error-correction co-design platform that ORNL, IBM and AMD launched on 5 November. Hosted at IBM's site in Poughkeepsie, New York, that platform pairs IBM Quantum Nighthawk r2 processors with ORNL's Umbra system, which is built on AMD MI355X GPUs. IBM says Nighthawk r2 runs up to 100,000 samples per second, which it calls a 25-times throughput gain over its Heron processor.

Terms in plain English

Where things stand

Pelagos version 0.1.0 can be installed with pip install pelagos-decoder. The release includes tutorials and works with the Stim error simulator.

Sources

Sources

Related stories

More from Quantum Quokka

All stories from Quantum Quokka