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 O(n) (where n is the number of qubits). This represents a notable enhancement over the Quantum Fourier Transform (QFT), which has a circuit depth of O(n2). Furthermore, our approach for edge detection has a computational cost (both gate complexity and quantum circuit depth) of O(2(N1N2)) for an image of size N1× N2, offering a considerable improvement over the Quantum Hadamard Edge Detection (QHED) algorithm, which incurs a cost of O(poly(2(N1N2))). 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.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…