IEEE Access (Jan 2024)

A Quantum Algorithm for Boolean Functions Processing

  • Fahad Aljuaydi,
  • Samar AbdelAzim,
  • Mohamed M. Darwish,
  • Mohammed Zidan

DOI
https://doi.org/10.1109/ACCESS.2024.3486333
Journal volume & issue
Vol. 12
pp. 164503 – 164519

Abstract

Read online

Detecting junta variables is a critical issue in Boolean function analysis, circuit design optimization, and machine learning feature selection. In this paper, we investigate a novel quantum computation algorithm based on the Mz operator. The algorithm takes in an unknown oracle concealing a Boolean function with n variables and an unknown input state, which can be quantum or classical. The input state can be complete or incomplete quantum basis states, and it can be a weighted or uniform superposition of basis states. The proposed approach determines whether a given variable is a junta with a time cost of $O(2/\epsilon ^{2})$ and a memory cost of $2n+6$ . The algorithm is analyzed and experimentally implemented using the Qiskit simulator and IBM’s real quantum computer. Experimental results show that the proposed approach achieved a quantum supremacy ratio 6300% higher than that of the classical method when verifying junta variables for Boolean functions with 12 variables. The results suggest that the proposed quantum method can verify junta variables in scenarios beyond the capabilities of current classical or quantum methods.

Keywords