ParityBridge

Benchmarking a hybrid GPU and CPU decoder for quantum error correction.

  1. SyndromeRead the error signals.
  2. GPU pre-decoderResolve local patterns in parallel.
  3. Global decoderDecode the signals that remain.
The hybrid decoding pipeline, from error signals to a final prediction.

Quantum error correction relies on classical software to interpret error signals. I built ParityBridge to measure what happens when a GPU handles local patterns before a global decoder processes what remains.

I built a benchmark harness to compare decoding errors and speed against a CPU baseline. I tracked the time to decode one sample separately from how many samples the system could process in a batch.

Measuring the trade-off

I repeated the timing runs and checked them against changes in decoding errors. On the small codes I tested, the CPU was faster for a single sample. The batch tests helped identify where the hybrid design deserved further testing.