Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Quantum Algorithm Determining a Homogeneous Linear Function

Koji Nagata, Tadao Nakamura, Han J.F. Geurdes, Josep Amengual i Batle, S. Abdalla, Ahmed Farouk, Do Ngoc Diep

Published Sep 1, 2017• 0 citations
OpenAlex

Abstract

We present a method of fast determining a homogeneous linear function $f(x):= s.x=s_1x_1+ s_2x_2+\dots+s_Nx_N$ from $\{0,1,\dots,d-1\}^N$ with coefficients $s=(s_1,\dots,s_N)$. Here $x=(x_1,\dots,x_N)$ and $x_j\in{\bf R}$. Given the interpolation values $(f(1), f(2),...,f(N))=\vec{y}$, we shall determine the unknown coefficients $s = (s_1(\vec{y}),\dots, s_N(\vec{y}))$ of the linear function, simultaneously. The speed of determining the values is shown to outperform the classical case by a factor of $N$. Our method is based on the generalized Bernstein-Vazirani algorithm \cite{BVG} to qudit systems \cite{BVD}.

Related papers

A Method of Computing Many Functions Simultaneously by Using Many Parallel Quantum Systems

Koji Nagata, Germano Resconi, Tadao Nakamura +4 more

We suggest a method of computing many functions in the same time by using many parallel quantum systems. We use the Bernstein-Vazirani algorithm. Given the set of real values $\{a_1,a_2,a_3,\ldots,a_N\}$, and the function $g:{\bf R}\rightarrow \{0,1\}$, we shall determine the following values $\{g(a_1),g(a_2),g(a_3),\ldots, g(a_N)\}$ simultaneously. By using $M$ parallel quantum systems, we can compute $M$ functions $g^1,g^2,...,g^M$ simultaneously. The speed of determining the $N\times M$ values will be shown to outperform the classical case by a factor of $N$.

•Apr 1, 2017•2 citations

Generalization of the Bernstein-Vazirani Algorithm Beyond Qubit Systems

Koji Nagata, Tadao Nakamura, Shahrokh Heidari +2 more

First, we review the Bernstein-Vazirani algorithm for determining a bit string. Next, we discuss the generalized Bernstein-Vazirani algorithm for determining a natural number string. Finally, we discuss the generalized Bernstein-Vazirani algorithm for determining an integer string. All of the generalized algorithms presented here have the following structure. Given the set of real values $\{a_1,a_2,a_3,\ldots,a_N\}$ and a special function $g$, we determine $N$ values of the function $g(a_1),g(a_2),g(a_3),\ldots, g(a_N)$ simultaneously. The speed of determining the strings is shown to outperform the best classical case by a factor of $N$ in every case.

•Sep 1, 2018•0 citations

Generalization of the Bernstein-Vazirani Algorithm

Koji Nagata, Tadao Nakamura

We present generalization of the Bernstein-Vazirani algorithm. Suppose there are many natural numbers: $a_1,a_2,a_3,\ldots,a_N$. Here, we introduce a function: $ g:{\bf N}\rightarrow \{0,1\}. $ Our goal is to determine the following values simultaneously: $ g(a_1),g(a_2),g(a_3),\ldots, g(a_N). $ The speed to determine $N$ values improves by a factor of $N$ by comparing the classical case. We obtain the Bernstein-Vazirani algorithm when $g:a_i\rightarrow a_i$.

•Aug 1, 2016•3 citations

A Generalization of Bernstein-Vazirani Algorithm to Qudit Systems

R Narayanan Krishna, Vishesh Makwana, Ananda Padhmanabhan Suresh

A quantum algorithm to solve the parity problem is better than its most efficient classical counter- part with a separation that is polynomial in the number of queries. This was shown by E. Bernstein and U. Vazirani and was one of the earliest indications that the quantum information processing can outperform the classical one by a significant margin. The problem and its solution both is usually stated for a 2-level system since we generally work with bits/qubits. However, many works have been done generalizing known quantum computing techniques to higher level systems. Following this, we look at a generalization of the Bernstein-Vazirani algorithm implemented on a general qudit system.

arXiv:1609.03185•Sep 11, 2016•11 citations

The Generalized Bernstein-Vazirani Algorithm for Determining an Integer String

Koji Nagata, Tadao Nakamura, Han J.F. Geurdes +3 more

We present the generalized Bernstein-Vazirani algorithm for determining a restricted integer string. Given the set of real values $\{a_1,a_2,a_3,\ldots,a_N\}$ and a function $g:{\bf R}\rightarrow {\bf Z}$, we shall determine the following values $\{g(a_1),g(a_2),g(a_3),\ldots, g(a_N)\}$ simultaneously. The speed of determining the values is shown to outperform the classical case by a factor of $N$. The method determines the maximum of and the minimum of the function $g$ that the finite domain is $\{a_1,a_2,a_3,\ldots,a_N\}$.

•Mar 1, 2018•0 citations

Fast Quantum Algorithms for Learning Linear Threshold Functions

Aleksandrs Krivcenko, Tuyen Nguyen, Ronald de Wolf

Linear threshold functions (LTFs) are $\{-1,1\}$-valued functions $f_{w,θ}(x)=\text{sgn}(\langle w,x\rangle-θ)$, where $w\in\mathbb R^n$ has unit norm, $θ\in\mathbb R$, and $x\in\mathbb R^n$ or $\{-1,1\}^n$. If $θ=0$, the LTF is homogeneous, denoted $f_w=f_{w,0}$. LTFs are fundamental linear classifiers. We give three results: one for general LTFs and two for homogeneous LTFs. (1) With real-domain membership queries evaluating $f_{w,θ}(x)$ at any chosen $x\in\mathbb R^n$, we learn an LTF with classification error at most $\varepsilon$ under the standard Gaussian distribution using $O(\log(n/\varepsilon))$ queries and $\widetilde{O}(n)$ other gates. Classically, $Ω(n\log(1/\varepsilon))$ queries are required, giving an exponential quantum query speedup. (2) A homogeneous LTF $f_w$ over $\{-1,1\}^n$ whose $k$ nonzero weights are equal and positive is Majority on the support of $w$. We identify this hidden support exactly using $O(\log k)$ queries, exponentially improving Belovs' $O(k^{1/4})$ upper bound. Our algorithm uses $O(n\log n\log k)$ gates and has $O(\log n\log k)$ non-oracle depth. Classical algorithms require $Ω(k\log(n/k))$ queries. (3) Suppose a unitary $U$ prepares discretized Gaussian quantum examples, corresponding to $\int_x\sqrt{γ_n(x)}|x\rangle|f_w(x)\rangle\,dx$. This is weaker than membership queries. Using the efficient quantum Hermite transform circuit, we learn homogeneous LTFs with classification error at most $\varepsilon$ under the Gaussian distribution using $O(n^{1/4}/\sqrt{\varepsilon})$ applications of $U$ and $U^\dagger$ and $\widetilde{O}\!(\frac{n^{5/4}}{\sqrt{\varepsilon}}+\frac{n}{\varepsilon^2})$ other gates. Classically, $Ω(n/\varepsilon)$ examples are needed, giving a quartic quantum speedup in $n$. We show that the quantum query complexities in all three cases are optimal by proving matching lower bounds.

quant-pharXiv:2609.40331•Oct 1, 2026•0 citations
We present a method of fast determining a homogeneous linear function f(x):=s.x=s1x1+s2x2+⋯+sNxNf(x):= s.x=s_1x_1+ s_2x_2+\dots+s_Nx_Nf(x):=s.x=s1​x1​+s2​x2​+⋯+sN​xN​ from {0,1,…,d−1}N\{0,1,\dots,d-1\}^N{0,1,…,d−1}N with coefficients s=(s1,…,sN)s=(s_1,\dots,s_N)s=(s1​,…,sN​). Here x=(x1,…,xN)x=(x_1,\dots,x_N)x=(x1​,…,xN​) and xj∈Rx_j\in{\bf R}xj​∈R. Given the interpolation values (f(1),f(2),...,f(N))=y⃗(f(1), f(2),...,f(N))=\vec{y}(f(1),f(2),...,f(N))=y​, we shall determine the unknown coefficients s=(s1(y⃗),…,sN(y⃗))s = (s_1(\vec{y}),\dots, s_N(\vec{y}))s=(s1​(y​),…,sN​(y​)) of the linear function, simultaneously. The speed of determining the values is shown to outperform the classical case by a factor of NNN. Our method is based on the generalized Bernstein-Vazirani algorithm \cite{BVG} to qudit systems \cite{BVD}.
We suggest a method of computing many functions in the same time by using many parallel quantum systems. We use the Bernstein-Vazirani algorithm. Given the set of real values {a1,a2,a3,…,aN}\{a_1,a_2,a_3,\ldots,a_N\}{a1​,a2​,a3​,…,aN​}, and the function g:R→{0,1}g:{\bf R}\rightarrow \{0,1\}g:R→{0,1}, we shall determine the following values {g(a1),g(a2),g(a3),…,g(aN)}\{g(a_1),g(a_2),g(a_3),\ldots, g(a_N)\}{g(a1​),g(a2​),g(a3​),…,g(aN​)} simultaneously. By using MMM parallel quantum systems, we can compute MMM functions g1,g2,...,gMg^1,g^2,...,g^Mg1,g2,...,gM simultaneously. The speed of determining the N×MN\times MN×M values will be shown to outperform the classical case by a factor of NNN.
First, we review the Bernstein-Vazirani algorithm for determining a bit string. Next, we discuss the generalized Bernstein-Vazirani algorithm for determining a natural number string. Finally, we discuss the generalized Bernstein-Vazirani algorithm for determining an integer string. All of the generalized algorithms presented here have the following structure. Given the set of real values {a1,a2,a3,…,aN}\{a_1,a_2,a_3,\ldots,a_N\}{a1​,a2​,a3​,…,aN​} and a special function ggg, we determine NNN values of the function g(a1),g(a2),g(a3),…,g(aN)g(a_1),g(a_2),g(a_3),\ldots, g(a_N)g(a1​),g(a2​),g(a3​),…,g(aN​) simultaneously. The speed of determining the strings is shown to outperform the best classical case by a factor of NNN in every case.
We present generalization of the Bernstein-Vazirani algorithm. Suppose there are many natural numbers: a1,a2,a3,…,aNa_1,a_2,a_3,\ldots,a_Na1​,a2​,a3​,…,aN​. Here, we introduce a function: $ g:{\bf N}\rightarrow \{0,1\}. $ Our goal is to determine the following values simultaneously: $ g(a_1),g(a_2),g(a_3),\ldots, g(a_N). $ The speed to determine NNN values improves by a factor of NNN by comparing the classical case. We obtain the Bernstein-Vazirani algorithm when g:ai→aig:a_i\rightarrow a_ig:ai​→ai​.
A quantum algorithm to solve the parity problem is better than its most efficient classical counter- part with a separation that is polynomial in the number of queries. This was shown by E. Bernstein and U. Vazirani and was one of the earliest indications that the quantum information processing can outperform the classical one by a significant margin. The problem and its solution both is usually stated for a 2-level system since we generally work with bits/qubits. However, many works have been done generalizing known quantum computing techniques to higher level systems. Following this, we look at a generalization of the Bernstein-Vazirani algorithm implemented on a general qudit system.
We present the generalized Bernstein-Vazirani algorithm for determining a restricted integer string. Given the set of real values {a1,a2,a3,…,aN}\{a_1,a_2,a_3,\ldots,a_N\}{a1​,a2​,a3​,…,aN​} and a function g:R→Zg:{\bf R}\rightarrow {\bf Z}g:R→Z, we shall determine the following values {g(a1),g(a2),g(a3),…,g(aN)}\{g(a_1),g(a_2),g(a_3),\ldots, g(a_N)\}{g(a1​),g(a2​),g(a3​),…,g(aN​)} simultaneously. The speed of determining the values is shown to outperform the classical case by a factor of NNN. The method determines the maximum of and the minimum of the function ggg that the finite domain is {a1,a2,a3,…,aN}\{a_1,a_2,a_3,\ldots,a_N\}{a1​,a2​,a3​,…,aN​}.
Linear threshold functions (LTFs) are {−1,1}\{-1,1\}{−1,1}-valued functions fw,θ(x)=sgn(⟨w,x⟩−θ)f_{w,θ}(x)=\text{sgn}(\langle w,x\rangle-θ)fw,θ​(x)=sgn(⟨w,x⟩−θ), where w∈Rnw\in\mathbb R^nw∈Rn has unit norm, θ∈Rθ\in\mathbb Rθ∈R, and x∈Rnx\in\mathbb R^nx∈Rn or {−1,1}n\{-1,1\}^n{−1,1}n. If θ=0θ=0θ=0, the LTF is homogeneous, denoted fw=fw,0f_w=f_{w,0}fw​=fw,0​. LTFs are fundamental linear classifiers. We give three results: one for general LTFs and two for homogeneous LTFs. (1) With real-domain membership queries evaluating fw,θ(x)f_{w,θ}(x)fw,θ​(x) at any chosen x∈Rnx\in\mathbb R^nx∈Rn, we learn an LTF with classification error at most ε\varepsilonε under the standard Gaussian distribution using O(log⁡(n/ε))O(\log(n/\varepsilon))O(log(n/ε)) queries and O~(n)\widetilde{O}(n)O(n) other gates. Classically, Ω(nlog⁡(1/ε))Ω(n\log(1/\varepsilon))Ω(nlog(1/ε)) queries are required, giving an exponential quantum query speedup. (2) A homogeneous LTF fwf_wfw​ over {−1,1}n\{-1,1\}^n{−1,1}n whose kkk nonzero weights are equal and positive is Majority on the support of www. We identify this hidden support exactly using O(log⁡k)O(\log k)O(logk) queries, exponentially improving Belovs' O(k1/4)O(k^{1/4})O(k1/4) upper bound. Our algorithm uses O(nlog⁡nlog⁡k)O(n\log n\log k)O(nlognlogk) gates and has O(log⁡nlog⁡k)O(\log n\log k)O(lognlogk) non-oracle depth. Classical algorithms require Ω(klog⁡(n/k))Ω(k\log(n/k))Ω(klog(n/k)) queries. (3) Suppose a unitary UUU prepares discretized Gaussian quantum examples, corresponding to ∫xγn(x)∣x⟩∣fw(x)⟩ dx\int_x\sqrt{γ_n(x)}|x\rangle|f_w(x)\rangle\,dx∫x​γn​(x)​∣x⟩∣fw​(x)⟩dx. This is weaker than membership queries. Using the efficient quantum Hermite transform circuit, we learn homogeneous LTFs with classification error at most ε\varepsilonε under the Gaussian distribution using O(n1/4/ε)O(n^{1/4}/\sqrt{\varepsilon})O(n1/4/ε​) applications of UUU and U†U^\daggerU† and O~ ⁣(n5/4ε+nε2)\widetilde{O}\!(\frac{n^{5/4}}{\sqrt{\varepsilon}}+\frac{n}{\varepsilon^2})O(ε​n5/4​+ε2n​) other gates. Classically, Ω(n/ε)Ω(n/\varepsilon)Ω(n/ε) examples are needed, giving a quartic quantum speedup in nnn. We show that the quantum query complexities in all three cases are optimal by proving matching lower bounds.