Hybrid Quantum Image Preparation via JPEG Compression
Emad Rezaei Fard Boosari
TL;DR
The paper addresses the quantum-cost burden of loading images for amplitude-encoded quantum image processing by marrying JPEG compression with QPIE, loading only quantized JPEG coefficients into a quantum register. It introduces two hybrids: JQPIE, which coherently decompresses via a block-encoded inverse quantization, and QF-JQPIE, which forgoes quantization and uses truncation in the DCT domain to enable a fully unitary, ancilla-free preparation. Statevector simulations on USC-SIPI/Kodak show substantial reductions in CX gate counts and circuit depth with preserved or even enhanced PSNR/SSIM fidelity, particularly for QF-JQPIE, which avoids probabilistic overhead entirely. The work establishes a practical baseline for resource-efficient quantum image loading and points to future extensions with alternative compression schemes and data-driven reversible transforms.
Abstract
We present a hybrid classical-quantum image preparation scheme that reduces the quantum implementation cost of image loading for quantum pixel information encoding (QPIE). The proposed method, termed JPEG-assisted QPIE (JQPIE), loads only the quantized JPEG coefficients into a quantum register, leading to substantial reductions in \texttt{CX} gate count and circuit depth while preserving reconstruction quality comparable to classical JPEG compression. We develop two variants of the hybrid strategy. The first realizes the complete JPEG decompression pipeline coherently by implementing inverse quantization via a block-encoded unitary operator. The second, referred to as \emph{quantization-free JQPIE} (QF-JQPIE), omits quantization altogether, thereby avoiding the probabilistic nature of block-encoded quantization. Numerical simulations on standard benchmark image datasets (USC--SIPI and Kodak) demonstrate that both variants achieve significant constant-factor reductions in \texttt{CX} gate count and circuit depth relative to direct QPIE loading, while maintaining high reconstruction quality as measured by PSNR and SSIM.
