Generalized Deutsch-Jozsa Algorithm for Applications in Data Classification, Logistic Regression, and Quantum Key Distribution
M. Ghadimi, V. Salari, S. Bakrani, M. Zomorodi, N. Gohari-Kamel, S. Moradi, D. Oblak
TL;DR
The paper introduces the Generalized Deutsch-Jozsa (GDJ) algorithm, extending the original Deutsch-Jozsa framework to a two-register oracle with a Bell-state ancilla to retrieve both the global function type (constant or balanced) and explicit output values in a single query. This richer information per query is leveraged for practical tasks across data classification, quantum machine learning ensembles, and quantum cryptography, including a GDJ-based QKD protocol with a higher key rate and improved eavesdropper detection. The authors detail the Generalized Deutsch Algorithm (GDA) and the GDJ circuit, analyze resource and query implications, and illustrate how GDJ supports ensemble encoding, feature/parameter encoding, and interference-driven decision making. They also discuss robustness to noise, information-theoretic advantages, and provide simulations and protocol-level considerations for real hardware implementations. Overall, GDJ enhances interpretability and efficiency in quantum information processing by simultaneously exposing function type and values, with broad applicability to high-impact quantum technologies.
Abstract
We present a generalized Deutsch-Jozsa (DJ) quantum algorithm that not only determines both the global type of an unknown Boolean function (constant or balanced) but also determines explicit output values of the function in a single oracle query. Unlike the original DJ algorithm, which identifies only whether a function is constant or balanced, our generalization retrieves actual function output values at the same time with using a Bell state as ancilla. This makes a richer function characterization with minimal queries to have practical quantum advantages, e.g. data classification, logistic regression, and quantum cryptography.
