Skip to main content

Quantum Algorithm for the Parity Problem

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 113 Accesses

Years and Authors of Summarized Original Work

  • 1985; Deutsch

Problem Definition

The parity of n bits \(x_{0},x_{1},\cdots \,,x_{n-1} \in \{0,1\}\) is

$$\displaystyle{x_{0} \oplus x_{1} \oplus \cdots \oplus x_{n-1} =\sum _{ i=0}^{n-1}x_{ i}\quad \mod 2.}$$

As an elementary Boolean function, parity is important not only as a building block of digital logic but also for its instrumental roles in several areas such as error correction, hashing, discrete Fourier analysis, pseudorandomness, communication complexity, and circuit complexity. The feature of parity that underlies its many applications is its maximum sensitivity to the input: flipping any bit in the input changes the output. The computation of parity from its input bits is quite straightforward in most computation models. However, two settings deserve attention.

The first is the circuit complexity of parity when the gates are restricted to AND, OR, and NOTgates. It is known that parity cannot be computed by such a circuit of a...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,999.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Ajtai M (1983) \(\sum \limits _{1}^{1}\)-formulae on finite structures. Ann Pure Appl Log 24(1):1–48

    Article  MathSciNet  MATH  Google Scholar 

  2. Bernstein E, Vazirani U (1997) Quantum complexity theory. SIAM J Comput 26(5):1411–1473

    Article  MathSciNet  MATH  Google Scholar 

  3. Cleve R, Ekert A, Macchiavello C, Mosca M (1998) Quantum algorithms revisited. Proc R Soc Lond A454:339–354

    Article  MathSciNet  MATH  Google Scholar 

  4. Deutsch D (1985) Quantum theory, the Church-Turing principle and the universal quantum computer. Proc R Soc Lond A400:97–117

    Article  MathSciNet  MATH  Google Scholar 

  5. Deutsch D, Jozsa R (1992) Rapid solution of problems by quantum computation. Proc R Soc Lond A439:553–558

    Article  MathSciNet  MATH  Google Scholar 

  6. Farhi E, Goldstone J, Gutmann S, Sipser M (1998) A limit on the speed of quantum computation in determining parity. Phys Rev Lett 81:5442–5444

    Article  Google Scholar 

  7. Furst M, Saxe J, Sipser M (1984) Parity, circuits, and the polynomial time hierarchy. Math Syst Theor 17(1):13–27

    Article  MathSciNet  MATH  Google Scholar 

  8. Shor PW (1997) Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer, SIAM J Comput 26(5):1484–1509

    Article  MathSciNet  MATH  Google Scholar 

  9. Simon DR (1997) On the power of quantum computation. SIAM J Comput 26(5):1474–1483

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yaoyun Shi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Shi, Y. (2016). Quantum Algorithm for the Parity Problem. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_309

Download citation

Publish with us

Policies and ethics