Skip to main content
QUICK REVIEW

[Paper Review] Improved quantum test for linearity of a Boolean function

Kaushik Chakraborty, Subhamoy Maitra|arXiv (Cornell University)|Jun 26, 2013
Quantum Computing Algorithms and ArchitectureComputer Science8 citations
TL;DR

This paper presents a quantum algorithm that tests whether a Boolean function is affine (linear or with constant term) or ε-far from any affine function, achieving O(ε⁻¹ᐟ²) query complexity by combining the Deutsch-Jozsa and Grover algorithms. The method uses amplitude amplification on the output of the Deutsch-Jozsa algorithm to detect non-affinity with high probability, improving upon the prior quantum bound of O(ε⁻²ᐟ³).

ABSTRACT

Let a Boolean function be available as a black-box (oracle) and one likes to devise an algorithm to test whether it has certain property or it is $ε$-far from having that property. The efficiency of the algorithm is judged by the number of calls to the oracle so that one can decide, with high probability, between these two alternatives. The best known quantum algorithm for testing whether a function is linear or $ε$-far $(0 < ε< \frac{1}{2})$ from linear functions requires $O(ε^{-\frac{2}{3}})$ many calls [Hillery and Andersson, Physical Review A 84, 062329 (2011)]. We show that this can be improved to $O(ε^{-\frac{1}{2}})$ by using the Deutsch-Jozsa and the Grover Algorithms.

Motivation & Objective

  • To reduce the quantum query complexity for testing whether a Boolean function is affine or ε-far from affine functions.
  • To improve upon the existing quantum bound of O(ε⁻²ᐟ³) for linearity testing by leveraging quantum amplitude amplification.
  • To explore the interplay between the Walsh spectrum, Deutsch-Jozsa, and Grover algorithms for property testing in quantum query complexity.
  • To establish a tighter query complexity bound that approaches the theoretical limits suggested by Grover's optimality.

Proposed method

  • Apply the Deutsch-Jozsa algorithm to the Boolean function oracle to prepare a quantum state |Ψ⟩ that encodes the Walsh spectrum information.
  • Measure the resulting state to obtain a candidate input a⁽⁰⁾, which is expected to be the unique input with non-zero amplitude if the function is affine.
  • Construct a Grover-style oracle g(x) that marks all inputs except a⁽⁰⁾, enabling amplitude amplification on the subspace orthogonal to |a⁽⁰⁾⟩.
  • Perform t iterations of the Grover diffusion operator combined with the oracle g to amplify the amplitude of states other than |a⁽⁰⁾⟩.
  • Use the condition that if the function is not affine, the amplitude of |a⁽⁰⁾⟩ will be reduced after t iterations, leading to a different measurement outcome.
  • Terminate and report non-affinity if the final measurement yields a state different from a⁽⁰⁾; otherwise, report the function as affine with high confidence.

Experimental results

Research questions

  • RQ1Can the query complexity for testing affine functions be improved beyond O(ε⁻²ᐟ³) using quantum algorithms?
  • RQ2How can the Deutsch-Jozsa algorithm's output be leveraged as a starting point for amplitude amplification in property testing?
  • RQ3What is the optimal number of Grover iterations required to detect non-affinity with high probability for ε-far functions?
  • RQ4How does the query complexity scale with ε, and can it approach the theoretical lower bound implied by Grover's algorithm?

Key findings

  • The proposed algorithm achieves a query complexity of O(ε⁻¹ᐟ²), which is an improvement over the previous quantum bound of O(ε⁻²ᐟ³).
  • The algorithm uses amplitude amplification on the output of the Deutsch-Jozsa algorithm to detect deviations from affinity with high probability.
  • For ε-far functions, the amplitude of the initial state |a⁽⁰⁾⟩ is reduced after t ≈ O(√(1/ε)) Grover iterations, leading to a measurement outcome different from a⁽⁰⁾ with probability at least 2/3.
  • The analysis shows that sinθ ≥ √(2ε) when the function is ε-far, enabling the use of Grover's method to amplify the probability of detecting non-affinity.
  • The algorithm runs in time O(2ⁿᐟ²) for functions at constant distance δ from the affine set, and in O(√ζ(n)) time when δ = 2ⁿ/ζ(n), making it efficient for highly nonlinear functions.
  • The result suggests that further improvements below O(ε⁻¹ᐟ²) may not be possible due to the optimality of Grover's algorithm, indicating near-optimality of the proposed method.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.