Basic Quantum Algorithms
Pith reviewed 2026-05-24 12:20 UTC · model grok-4.3
The pith
A review supplies circuit-model descriptions of the foundational quantum algorithms from Deutsch in 1985 to HHL in 2009.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The paper claims that the earliest quantum algorithms can be described in detail using the circuit model, thereby revisiting and rewriting the foundations of the theory as the field evolves rapidly.
What carries the argument
The circuit model, which encodes quantum algorithms as sequences of gates on qubits.
If this is right
- Deutsch's algorithm demonstrates simultaneous evaluation via superposition.
- Simon's algorithm achieves an exponential speedup over classical methods for its problem.
- Shor's algorithms solve integer factoring and discrete logarithms efficiently enough to threaten classical cryptography.
- Grover's algorithm delivers a quadratic speedup for unstructured search.
- The HHL algorithm solves systems of linear equations with a logarithmic dependence on problem size.
Where Pith is reading between the lines
- A common circuit presentation could make it easier to spot structural similarities when designing new algorithms.
- As quantum hardware matures, these same circuit descriptions may need minor adjustments to account for error models not present in the original papers.
- The review format could support direct comparisons of query complexity between quantum and classical versions of each problem.
Load-bearing premise
The paper assumes that the listed algorithms from Deutsch through HHL form the complete set of foundational examples worth revisiting and that their original formulations can be re-presented in circuit language without introducing new technical content.
What would settle it
An explicit demonstration that any one of the circuit diagrams deviates from the original algorithm's specification or adds new technical content would challenge the faithful re-presentation.
Figures
read the original abstract
Quantum computing is evolving so rapidly that it forces us to revisit, rewrite, and update the foundations of the theory. \emph{Basic Quantum Algorithms} revisits the earliest quantum algorithms. The journey began in 1985 with Deutsch attempting to evaluate a function at two domain points simultaneously. Then, in 1992, Deutsch and Jozsa created a quantum algorithm that determines whether a Boolean function is constant or balanced. The following year, Bernstein and Vazirani realized that essentially the same algorithm could be used to identify a specific Boolean function within a set of linear Boolean functions. In 1994, Simon introduced a novel quantum algorithm that determines whether a function is one-to-one or two-to-one exponentially faster than any classical algorithm for the same problem. That same year, Shor developed two groundbreaking quantum algorithms for integer factoring and calculating discrete logarithms, posing a threat to widely used cryptographic methods. In 1995, Kitaev proposed an alternative formulation based on phase estimation that proved valuable in numerous applications. The following year, Grover devised a quantum search algorithm that is quadratically faster than its classical counterpart. More than a decade later, Harrow, Hassidim, and Lloyd proposed a quantum algorithm for solving systems of linear equations, now known as the HHL algorithm. With an emphasis on the circuit model, this work provides a detailed description of all these remarkable algorithms.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript is an expository survey that revisits eight foundational quantum algorithms (Deutsch 1985, Deutsch-Jozsa 1992, Bernstein-Vazirani 1993, Simon 1994, Shor 1994 for factoring and discrete log, Kitaev 1995 phase estimation, Grover 1996, and HHL 2009), providing detailed descriptions with emphasis on their quantum circuit model implementations.
Significance. If the circuit descriptions faithfully reproduce the action and resource counts of the cited originals without introducing errors, the work could serve as a consolidated pedagogical reference for the circuit-model presentation of these algorithms. However, because the manuscript introduces no new algorithms, proofs, or technical results, its significance is limited to exposition and does not advance the research frontier.
minor comments (3)
- [Abstract] Abstract: the phrase 'all these remarkable algorithms' is vague; explicitly listing the eight algorithms and stating the precise scope (earliest foundational examples only) would improve clarity.
- [Introduction] Introduction: the opening claim that quantum computing 'forces us to revisit, rewrite, and update the foundations' lacks supporting citations to recent developments that would justify a new survey at this time.
- Throughout: ensure every algorithm section states the exact oracle assumptions, query complexity, and gate counts so readers can directly compare with the original papers without external lookup.
Simulated Author's Rebuttal
We thank the referee for the careful review and the recommendation of minor revision. The manuscript is explicitly positioned as an expository survey providing consolidated circuit-model descriptions of foundational algorithms. We address the referee's observations on significance below.
read point-by-point responses
-
Referee: because the manuscript introduces no new algorithms, proofs, or technical results, its significance is limited to exposition and does not advance the research frontier.
Authors: We agree that the work contains no new algorithmic results or proofs. Its intended contribution is pedagogical: to supply a single, self-contained reference with explicit circuit diagrams, gate counts, and step-by-step derivations that faithfully reproduce the original papers. In a field that evolves rapidly, such updated and unified expositions can reduce the barrier for students and researchers who must otherwise consult multiple primary sources. We therefore view the manuscript as a survey whose value lies precisely in its expository completeness rather than in novel technical claims. revision: no
Circularity Check
No significant circularity; expository survey of known algorithms
full rationale
The paper is a survey that revisits and describes eight established quantum algorithms (Deutsch 1985 through HHL 2009) in circuit-model language. Its central claim is faithful re-presentation of these prior results, with no original derivations, predictions, fitted parameters, or new mathematical content asserted. All load-bearing steps trace to external citations whose correctness can be verified independently of this manuscript; no self-definitional reductions, fitted-input predictions, or self-citation chains appear in the derivation chain because no derivation chain exists.
Axiom & Free-Parameter Ledger
Forward citations
Cited by 1 Pith paper
-
Non-unitary extension of Grover's search algorithm
A non-unitary extension of Grover's algorithm achieves O(sqrt(N)) query complexity matching the optimal bound by using a single large rotation via block encoding and Chebyshev approximation, at the cost of one additio...
Reference graph
Works this paper leans on
- [1]
-
[2]
S. Axler. Linear Algebra Done Right . Springer, New York, 1997
work page 1997
-
[3]
S. Barnett. Quantum Information. Oxford University Press, New York, 2009
work page 2009
-
[4]
G. Benenti, G. Casati, and G. Strini. Principles of Quantum Computation and Information: Basic Tools and Special Topics. World Scientific Publishing, River Edge, 2007
work page 2007
-
[5]
C. H. Bennett, E. Bernstein, G. Brassard, and U. V. Vazirani. Strengths and weaknesses of quantum computing. SIAM J. Comput. , 26(5):1510–1523, 1997
work page 1997
-
[6]
J. A. Bergou and M. Hillery. Introduction to the Theory of Quantum Information Processing. Springer, 2013
work page 2013
-
[7]
D. J. Bernstein. Detecting perfect powers in essentially linear time. Math. Comput. , 67(223):1253–1283, 1998
work page 1998
-
[8]
E. Bernstein and U. Vazirani. Quantum complexity theory. In Proc. of the 25th Annual ACM Symposium on Theory of Computing , STOC ’93, page 11–20. ACM, New York, 1993
work page 1993
-
[9]
E. Bernstein and U. Vazirani. Quantum complexity theory. SIAM Journal on Computing , 26(5):1411–1473, 1997
work page 1997
- [10]
-
[11]
G. Brassard, P. Høyer, M. Mosca, and A. Tapp. Quantum amplitude amplification and estimation. Quantum Computation and Quantum Information Science, AMS Contemporary Mathematics Series, 305:53–74, 2002
work page 2002
-
[12]
G. Brassard, P. Høyer, and A. Tapp. Quantum cryptanalysis of hash and claw-free functions. In Proc. 3rd Latin American Symposium LATIN’98, pages 163–169. Springer, 1998
work page 1998
-
[13]
Optimal separation in exact query complexities for Simon’s problem
Guangya Cai and Daowen Qiu. Optimal separation in exact query complexities for Simon’s problem. Journal of Computer and System Sciences , 97:83–93, 2018
work page 2018
- [14]
-
[15]
An approximate Fourier transform useful in quantum factoring
D. Coppersmith. An approximate Fourier transform useful in quantum factoring. Arxiv:quant-ph/0201067, 2002
work page internal anchor Pith review Pith/arXiv arXiv 2002
- [16]
-
[17]
D. Deutsch. Quantum theory, the Church-Turing principle and the universal quantum computer. Proc. Royal Society London Ser. A , pages 96–117, 1985
work page 1985
-
[18]
D. Deutsch. Quantum computational networks. Proc. Royal Society London Ser. A , 425(1868):73–90, 1989
work page 1989
-
[19]
D. Deutsch and R. Jozsa. Rapid solution of problems by quantum computation. Proc. Royal Society London Ser. A , 439(1907):553–558, 1992
work page 1907
-
[20]
D. Dieks. Communication by EPR devices. Physics Letters A , 92(6):271 – 272, 1982
work page 1982
-
[21]
Jiangfeng Du, Mingjun Shi, Xianyi Zhou, Yangmei Fan, BangJiao Ye, Rongdian Han, and Jihui Wu. Implementation of a quantum algorithm to solve the Bernstein-Vazirani parity problem without entanglement on an ensemble quantum computer. Phys. Rev. A , 64:042306, 2001
work page 2001
- [22]
-
[23]
L. K. Grover. A fast quantum mechanical algorithm for database search. In Proc. 28th annual ACM symposium on theory of computing , STOC ’96, pages 212–219, ACM, New York, 1996
work page 1996
-
[24]
L. K. Grover. Quantum mechanics helps in searching for a needle in a haystack. Phys. Rev. Lett., 79(2):325–328, 1997
work page 1997
-
[25]
G. H. Hardy and E. M. Wright. An Introduction to the Theory of Numbers . Oxford, 4th edition, 1975
work page 1975
-
[26]
M. Hayashi, S. Ishizaka, A. Kawachi, G. Kimura, and T. Ogawa. Introduction to Quantum Information Science. Springer, 2014
work page 2014
-
[27]
J. Hidary. Quantum Computing: An Applied Approach . Springer, 2019
work page 2019
- [28]
-
[29]
Quantum al- gorithm for solving hyperelliptic curve discrete logarithm problem
Yan Huang, Zhaofeng Su, Fangguo Zhang, Yong Ding, and Rong Cheng. Quantum al- gorithm for solving hyperelliptic curve discrete logarithm problem. Quantum Information Processing, 19(2):62, 2020
work page 2020
-
[30]
P. Kaye, R. Laflamme, and M. Mosca. An Introduction to Quantum Computing . Oxford University Press, New York, 2007
work page 2007
- [31]
-
[32]
A. Yu. Kitaev, A. H. Shen, and M. N. Vyalyi. Classical and Quantum Computation . American Mathematical Society, Boston, 2002. 112
work page 2002
- [33]
-
[34]
R. J. Lipton and K. W. Regan. Quantum Algorithms via Linear Algebra: A Primer . MIT Press, 2014
work page 2014
-
[35]
F. Magniez, M. Santha, and M. Szegedy. Quantum algorithms for the triangle problem. SIAM J. Comput. , 37(2):413–424, 2007
work page 2007
-
[36]
A. Mandviwalla, K. Ohshiro, and B. Ji. Implementing Grover’s algorithm on the IBM quantum computers. In 2018 IEEE International Conference on Big Data , pages 2531– 2537, 2018
work page 2018
-
[37]
D. C. Marinescu and G. M. Marinescu. Approaching Quantum Computing . Pear- son/Prentice Hall, Michigan, 2005
work page 2005
-
[38]
I. L. Markov and M. Saeedi. Constant-optimized quantum circuits for modular multiplica- tion and exponentiation. Quantum Info. Comput. , 12(5-6):361–394, 2012
work page 2012
-
[39]
F. L. Marquezino, R. Portugal, and F. D. Sasse. Obtaining the quantum Fourier transform from the classical FFT with QR decomposition. Journal of Computational and Applied Mathematics, 235(1):74–81, 2010
work page 2010
-
[40]
N. D. Mermin. Quantum Computer Science: An Introduction . Cambridge University Press, New York, 2007
work page 2007
-
[41]
D. A. Meyer. Sophisticated quantum search without entanglement. Phys. Rev. Lett. , 85:2014–2017, 2000
work page 2014
-
[42]
Deterministic polynomial-time quantum algorithms for Simon’s problem
Takashi Mihara and Shao Chin Sung. Deterministic polynomial-time quantum algorithms for Simon’s problem. Computational Complexity, 12(3):162–175, 2003
work page 2003
-
[43]
A. Montanaro, R. Jozsa, and G. Mitchison. On exact quantum query complexity. Algorith- mica, 71(4):775–796, 2015
work page 2015
-
[44]
M. Nakahara and T. Ohmi. Quantum Computing: From Linear Algebra to Physical Real- izations. CRC Press, 2008
work page 2008
-
[45]
M. A. Nielsen and I. L. Chuang. Quantum computation and quantum information . Cam- bridge University Press, New York, 2000
work page 2000
- [46]
-
[47]
J. L. Park. The concept of transition in quantum mechanics. Foundations of Physics , 1(1):23–33, 1970
work page 1970
-
[48]
A. Pavlidis and D. Gizopoulos. Fast quantum modular exponentiation architecture for Shor’s factoring algorithm. Quantum Info. Comput. , 14(7&8):649–682, 2014
work page 2014
- [49]
-
[50]
R. Portugal and F. L. Marquezino. Introdu¸ c˜ ao ` a Programa¸ c˜ ao de Computadores Quˆ anticos. In Conference CSBC 2019 – 38 o JAI, pages 1–51, Bel´ em, Par´ a, 2019
work page 2019
-
[51]
J. Proos and C. Zalka. Shor’s discrete logarithm quantum algorithm for elliptic curves. Quantum Information and Computation , 3(4):317–344, 2003
work page 2003
-
[52]
Generalized Deutsch-Jozsa problem and the optimal quantum algorithm
Daowen Qiu and Shenggen Zheng. Generalized Deutsch-Jozsa problem and the optimal quantum algorithm. Phys. Rev. A , 97:062331, 2018
work page 2018
-
[53]
Revisiting Deutsch-Jozsa algorithm
Daowen Qiu and Shenggen Zheng. Revisiting Deutsch-Jozsa algorithm. Information and Computation, 275:104605, 2020
work page 2020
-
[54]
E. Rieffel and W. Polak. Quantum Computing: a Gentle Introduction . MIT Press, Cam- bridge, 2011
work page 2011
-
[55]
J. B. Rosser and L. Schoenfeld. Approximate formulas for some functions of prime numbers. Illinois Journal of Mathematics , 6(1):64 – 94, 1962
work page 1962
-
[56]
W. Scherer. Mathematics of Quantum Computing: An Introduction . Springer, 2019
work page 2019
-
[57]
P. W. Shor. Algorithms for quantum computation: discrete logarithms and factoring. In Proc. 35th Annual Symposium on Foundations of Computer Science , pages 124 –134, 1994
work page 1994
-
[58]
P. W. Shor. Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM Journal on Computing , 26(5):1484–1509, 1997
work page 1997
-
[59]
P. W. Shor. Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM Review, 41(2):303–332, 1999
work page 1999
-
[60]
D. R. Simon. On the power of quantum computation. In Proc. 35th Annual Symposium on Foundations of Computer Science , pages 116–123, 1994
work page 1994
-
[61]
D. R. Simon. On the power of quantum computation. SIAM Journal on Computing , 26(5):1474–1483, 1997
work page 1997
-
[62]
U. Skosana and M. Tame. Demonstration of Shor’s factoring algorithm for N = 21 on IBM quantum processors. Scientific Reports, 11(1):16599, 2021
work page 2021
-
[63]
J. Stolze and D. Suter. Quantum Computing, Revised and Enlarged: A Short Course from Theory to Experiment. Wiley-VCH, 2008
work page 2008
-
[64]
G. Strang. Linear Algebra and Its Applications . Brooks Cole, 1988
work page 1988
-
[65]
C. P. Williams. Explorations in Quantum Computing . Springer, 2008
work page 2008
-
[66]
W. K. Wootters and W. H. Zurek. A single quantum cannot be cloned. Nature, 299:802–803, 1982
work page 1982
-
[67]
N. S. Yanofsky and M. Mannucci. Quantum Computing for Computer Scientists. Cambridge University Press, 2008
work page 2008
-
[68]
Query complexity of generalized Simon’s problem
Zekun Ye, Yunqi Huang, Lvzhou Li, and Yuyi Wang. Query complexity of generalized Simon’s problem. Information and Computation , 281:104790, 2021
work page 2021
-
[69]
C. Zalka. Grover’s quantum searching algorithm is optimal. Phys. Rev. A , 60:2746–2751, 1999. 114
work page 1999
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.