Quantum Algorithm for Searching for the Longest Segment and the Largest Empty Rectangle

Abstract

In the paper, we consider the problem of searching for the Largest empty rectangle in a 2D map, and the one-dimensional version of the problem is the problem of searching for the largest empty segment. We present a quantum algorithm for the Largest Empty Square problem and the Largest Empty Rectangle of a fixed width d for n× n-rectangular map. Query complexity of the algorithm is O(n1.5) for the square case, and O(nd) for the rectangle with a fixed width d case, respectively. At the same time, the lower bounds for the classical case are (n2), and (nd), respectively. The Quantum algorithm for the one-dimensional version of the problem has O(n n n) query complexity. The quantum lower bound for the problem is (n) which is almost equal to the upper bound up to a log factor. The classical lower bound is (n). So, we obtain the quadratic speed-up for the problem.

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…