arXiv · 2510.16625
QRTlib: A Library for Fast Quantum Real Transforms
Abstract
Real-valued transforms such as the discrete cosine, sine, and Hartley transforms play a central role in classical computing, complementing the Fourier transform in applications from signal and image processing to data compression. However, their quantum counterparts have not evolved in parallel, and no unified framework exists for implementing them efficiently on quantum hardware. This article addresses this gap by introducing QRTlib, a library for fast and practical implementations of quantum real transforms, including the quantum Hartley, cosine, and sine transforms of various types. We develop new algorithms and circuit optimizations that make these transforms efficient and suitable for near-term devices. In particular, we present a quantum Hartley transform based on the linear combination of unitaries (LCU) technique, achieving a $4\times$ reduction in circuit size compared to prior methods. We also implement an improved quantum sine transform of Type I that removes the need for large multi-controlled operations. QRTlib provides the first complete implementations of these quantum real transforms in Qiskit.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Armin Ahmadkhaniha, Lu Chen, Jake Doliskani, Zhifu Sun. 2025-10-18. QRTlib: A Library for Fast Quantum Real Transforms. https://arxiv.org/abs/2510.16625
Cite the original work for its findings. Save a collection to share your selection of sources.