English

Testing Boolean Functions Properties

Quantum Physics 2023-06-22 v2

Abstract

The goal in the area of functions property testing is to determine whether a given black-box Boolean function has a particular given property or is ε\varepsilon-far from having that property. We investigate here several types of properties testing for Boolean functions (identity, correlations and balancedness) using the Deutsch-Jozsa algorithm (for the Deutsch-Jozsa (D-J) problem) and also the amplitude amplification technique. At first, we study here a particular testing problem: namely whether a given Boolean function ff, of nn variables, is identical with a given function gg or is ε\varepsilon-far from gg, where ε\varepsilon is the parameter. We present a one-sided error quantum algorithm to deal with this problem that has the query complexity O(1ε)O(\frac{1}{\sqrt{\varepsilon}}). Moreover, we show that our quantum algorithm is optimal. Afterwards we show that the classical randomized query complexity of this problem is Θ(1ε)\Theta(\frac{1}{\varepsilon}). Secondly, we consider the D-J problem from the perspective of functional correlations and let C(f,g)C(f,g) denote the correlation of ff and gg. We propose an exact quantum algorithm for making distinction between C(f,g)=ε|C(f,g)|=\varepsilon and C(f,g)=1|C(f,g)|=1 using six queries, while the classical deterministic query complexity for this problem is Θ(2n)\Theta(2^{n}) queries. Finally, we propose a one-sided error quantum query algorithm for testing whether one Boolean function is balanced versus ε\varepsilon-far balanced using O(1ε)O(\frac{1}{\varepsilon}) queries. We also prove here that our quantum algorithm for balancedness testing is optimal. At the same time, for this balancedness testing problem we present a classical randomized algorithm with query complexity of O(1/ε2)O(1/\varepsilon^{2}). Also this randomized algorithm is optimal. Besides, we link the problems considered here together and generalize them to the general case.

Cite

@article{arxiv.2109.06763,
  title  = {Testing Boolean Functions Properties},
  author = {Zhengwei Xie and Daowen Qiu and Guangya Cai and Jozef Gruska and Paulo Mateus},
  journal= {arXiv preprint arXiv:2109.06763},
  year   = {2023}
}

Comments

24 pages, comments are welcome. It is accepted for publishing in Fundamenta Informaticae