Skip to main content
QUICK REVIEW

[Paper Review] Deutsch-Jozsa Algorithm Revisited in the Domain of Cryptographically Significant Boolean Functions

Subhamoy Maitra, Partha Mukhopadhyay|ArXiv.org|Oct 6, 2004
Coding theory and cryptographyComputer Science10 references4 citations
TL;DR

This paper demonstrates that the Deutsch-Jozsa quantum algorithm can solve the problem of finding a non-zero Walsh spectrum point of a cryptographically significant Boolean function in constant time when the function is provided as an oracle, whereas the best classical approach requires exponential time. The key contribution is showing that this quantum advantage applies to large classes of Boolean functions relevant to cryptography, such as those with high nonlinearity or correlation immunity.

ABSTRACT

Boolean functions are important building blocks in cryptography for their wide application in both stream and block cipher systems. For cryptanalysis of such systems one tries to find out linear functions that are correlated to the Boolean functions used in the crypto system. Let $f$ be an $n$-variable Boolean function and its Walsh spectra is denoted by $W_f(ω)$ at the point $ω\in \{0, 1\}^n$. The Boolean function is available in the form of an oracle. We like to find an $ω$ such that $W_f(ω) eq 0$ as this will provide one of the linear functions which are correlated to $f$. We show that the quantum algorithm proposed by Deutsch and Jozsa (1992) solves the above mentioned problem in constant time. However, the best known classical algorithm to solve this problem requires exponential time in $n$. We also analyse certain classes of cryptographically significant Boolean functions and highlight how the basic Deutsch-Jozsa algorithm performs on them.

Motivation & Objective

  • To address the computational challenge of identifying a linear function correlated to a given Boolean function in cryptographic systems.
  • To show that the Deutsch-Jozsa algorithm provides a constant-time solution to this problem in the quantum model, unlike the classical exponential-time requirement.
  • To analyze the performance of the Deutsch-Jozsa algorithm on specific classes of cryptographically significant Boolean functions, such as those with bounded Hamming distance to linear functions.
  • To explore the implications of this result for quantum complexity theory, particularly in relativized separations between BPP and BQP or EQP.
  • To identify new problem classes in BQP that may help establish stronger separations between classical and quantum complexity classes.

Proposed method

  • The Deutsch-Jozsa algorithm is applied to an oracle that returns the value of an $n$-variable Boolean function $f$ on any input $x \in \{0,1\}^n$.
  • The algorithm determines whether the function is constant or balanced, which is used to infer the existence of a non-zero Walsh coefficient $W_f(\omega)$.
  • The method relies on the fact that if $W_f(\omega) \neq 0$, then the linear function $\omega \cdot x$ is correlated with $f$, which is essential for linear cryptanalysis.
  • The analysis extends to classes of functions $\mathcal{L}_{n,\epsilon}$ where the Hamming distance to some linear function is bounded by $1.17 \cdot 2^{n-3}$, ensuring high success probability.
  • Success probability is bounded using the relation $|W_f(\hat{\omega})| \geq 2^n - 2d(f, \hat{\omega} \cdot x)$, leading to a success probability of at least $\left(\frac{1}{\sqrt{2}} + \epsilon\right)^2 > \frac{1}{2} + \epsilon$.
  • The algorithm is adapted to find the $\omega$ that maximizes $|W_f(\omega)|$ for functions in $\mathcal{L}_{n,\epsilon}$, showing the problem lies in BQP.

Experimental results

Research questions

  • RQ1Can the Deutsch-Jozsa algorithm be used to efficiently find a non-zero Walsh coefficient of a Boolean function when the function is given as an oracle?
  • RQ2What is the performance of the Deutsch-Jozsa algorithm on classes of Boolean functions with high nonlinearity or correlation immunity?
  • RQ3Does the quantum speedup observed in this setting imply a relativized separation between classical complexity classes like BPP and quantum classes like BQP or EQP?
  • RQ4How large are the classes of Boolean functions for which the Deutsch-Jozsa algorithm succeeds with high probability?
  • RQ5Can this approach be generalized to identify structural properties of Boolean functions relevant to cryptanalysis using quantum query complexity?

Key findings

  • The Deutsch-Jozsa algorithm solves the problem of finding a non-zero Walsh coefficient in constant time under the quantum oracle model, while the classical approach requires $O(2^n)$ queries.
  • For functions in $\mathcal{L}_n$, defined as those within Hamming distance $2^{n-3}$ of some linear function, the success probability of the algorithm is at least $\frac{9}{16}$.
  • For the extended class $\mathcal{L}_{n,\epsilon}$ with distance bound $1.17 \cdot 2^{n-3}$, the success probability exceeds $\frac{1}{2} + \epsilon$, with $\epsilon > 0$.
  • The size of $\mathcal{L}_{n,\epsilon}$ is strictly larger than $\mathcal{L}_n$, indicating a broad class of functions for which the algorithm is effective.
  • The problem of finding the maximum $|W_f(\omega)|$ for functions in $\mathcal{L}_{n,\epsilon}$ is shown to be in BQP with respect to the oracle $f$.
  • The results suggest that this problem may lie outside classical complexity classes like BPP or PH, making it a candidate for proving relativized separations between BQP and classical classes.

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.