Quantum Time-Space Tradeoffs for Sorting
@misc{klauck2002quantum,
title = {Quantum Time-Space Tradeoffs for Sorting},
author = {Hartmut Klauck},
year = {2002},
eprint = {quant-ph/0211174},
archivePrefix = {arXiv},
primaryClass = {quant-ph},
url = {https://arxiv.org/abs/quant-ph/0211174}
}
Klauck, H. (2002). Quantum Time-Space Tradeoffs for Sorting [Preprint]. arXiv. https://doi.org/10.48550/arXiv.quant-ph/0211174
KLAUCK H. Quantum Time-Space Tradeoffs for Sorting[EB/OL]. (2002-11-26)[2026-11-30]. https://arxiv.org/abs/quant-ph/0211174.
Abstract
We investigate the complexity of sorting in the model of sequential quantum circuits. While it is known that in general a quantum algorithm based on comparisons alone cannot outperform classical sorting algorithms by more than a constant factor in time complexity, this is wrong in a space bounded setting. We observe that for all storage bounds n/log nge Sge log^3 n, one can devise a quantum algorithm that sorts n numbers (using comparisons only) in time T=O(n^3/2log^3/2 n/sqrt S). We then show the following lower bound on the time-space tradeoff for sorting n numbers from a polynomial size range in a general sorting algorithm (not necessarily based on comparisons): TS=Omega(n^3/2). Hence for small values of S the upper bound is almost tight. Classically the time-space tradeoff for sorting is TS=Theta(n^2).