Quantum algorithm for edge detection in digital grayscale images
Abstract
In this work, we propose a novel quantum algorithm for edge detection in digital grayscale images, based on the sequency-ordered Walsh-Hadamard transform. The proposed method significantly improves upon existing quantum techniques for edge detection by using a quantum algorithm for the sequency-ordered Walsh-Hadamard transform, achieving a circuit depth of (where is the number of qubits). This represents a notable enhancement over the Quantum Fourier Transform (QFT), which has a circuit depth of . Furthermore, our approach for edge detection has a computational cost (both gate complexity and quantum circuit depth) of for an image of size , offering a considerable improvement over the Quantum Hadamard Edge Detection (QHED) algorithm, which incurs a cost of . By integrating a quantum high-pass filter with the sequency-ordered Walsh-Hadamard transform, the algorithm effectively extracts edge information from images. Computational examples are provided to demonstrate the efficacy of the proposed algorithm which provides a better performance in comparison to QHED.
Cite
@article{arxiv.2507.06642,
title = {Quantum algorithm for edge detection in digital grayscale images},
author = {Mohit Rohida and Alok Shukla and Prakash Vedula},
journal= {arXiv preprint arXiv:2507.06642},
year = {2025}
}
Comments
16 pages