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•1 citation

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 Fast Quantum Algorithm for the Affine Boolean Function Identification

Ahmed Younes

Bernstein-Vazirani algorithm (the one-query algorithm) can identify a completely specified linear Boolean function using a single query to the oracle with certainty. The first aim of the paper is to show that if the provided Boolean function is affine, then one more query to the oracle (the two-query algorithm) is required to identify the affinity of the function with certainty. The second aim of the paper is to show that if the provided Boolean function is incompletely defined, then the one-query and the two-query algorithms can be used as bounded-error quantum polynomial algorithms to identify certain classes of incompletely defined linear and affine Boolean functions respectively with probability of success at least $2/3$.

arXiv:1407.6402•Jul 23, 2014•1 citation

Fast Quantum Algorithms for Learning Linear Threshold Functions

Aleksandrs Krivcenko, Tuyen Nguyen, Ronald de Wolf

Linear threshold functions are $f_{w,θ}(x)=\text{sign}(\langle x,w \rangle -θ)$, where the weight vector $w\in\mathbb{R}^n$ is a unit vector, $θ\in\mathbb R$ is a threshold, and typically $x\in\mathbb{R}^n$ or $x\in\{-1,1\}^n$. When $θ=0$, the LTF is called homogeneous, and we write $f_w:=f_{w,0}$. Such functions are among the most important objects in machine learning, since they serve to linearly discriminate positive and negative examples. We give three positive results about learning LTFs: 1. Suppose we can make real-domain queries, meaning we can compute $f_{w,θ}(x)$ at any $x\in\mathbb{R}^n$ of our choice. We give a quantum algorithm that learns $f_{w,θ}$ up to Euclidean error $ε$ using $O(\log(n/ε))$ membership queries and $\widetilde{O}(n)$ other gates. Then we have also learned $f_{w,θ}$ up to error $O(ε)$ when $x$ is Gaussian. Classical algorithms need $Ω(n\log(1/ε))$ queries. 2. A homogeneous LTF $f_w$ on domain $\{-1,1\}^n$ where $w$ has only $k$ nonzero entries of the same value, is the Majority function on the support of $w$. Belovs gave a bounded-error quantum algorithm that identifies the hidden support exactly (and hence learns $f_w$) using $O(k^{1/4})$ queries. We give an exponential improvement, using $O(\log k)$ queries. 3. Suppose we have a unitary $U$ that can produce (discretized) quantum examples under Gaussian measure, corresponding to $\int_x \sqrt{γ_n(x)}|x\rangle |f_w(x)\rangle dx$. This is a weaker access model than membership queries. We give a quantum algorithm based on the efficient Hermite transform of Jain et al. to learn homogeneous LTFs $f_w$ with error $ε$ under the Gaussian distribution, using $O(n^{1/4}/\sqrtε)$ applications of $U$ and $U^\dagger$ and $\widetilde{O}(n^2/ε^4)$ other gates.

quant-pharXiv:2609.40331•Oct 1, 2026•0 citations

Quantum algorithm for multivariate polynomial interpolation

Jianxin Chen, Andrew M. Childs, Shih-Han Hung

How many quantum queries are required to determine the coefficients of a degree- d polynomial in n variables? We present and analyse quantum algorithms for this multivariate polynomial interpolation problem over the fields F q , R and C . We show that k C and 2 k C queries suffice to achieve probability 1 for C and R , respectively, where k C = ⌈ ( 1 / ( n + 1 ) ) ( n + d d ) ⌉ except for d =2 and four other special cases. For F q , we show that ⌈( d /( n + d ))( n + d d ) ⌉ queries suffice to achieve probability approaching 1 for large field order q . The classical query complexity of this problem is ( n + d d ) , so our result provides a speed-up by a factor of n +1, ( n +1)/2 and ( n + d )/ d for C , R and F q

arXiv:1701.03990•Proceedings of the Royal Society A Mathematical Physical and Engineering Sciences•Jan 1, 2018•8 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​.
Bernstein-Vazirani algorithm (the one-query algorithm) can identify a completely specified linear Boolean function using a single query to the oracle with certainty. The first aim of the paper is to show that if the provided Boolean function is affine, then one more query to the oracle (the two-query algorithm) is required to identify the affinity of the function with certainty. The second aim of the paper is to show that if the provided Boolean function is incompletely defined, then the one-query and the two-query algorithms can be used as bounded-error quantum polynomial algorithms to identify certain classes of incompletely defined linear and affine Boolean functions respectively with probability of success at least 2/32/32/3.
Linear threshold functions are fw,θ(x)=sign(⟨x,w⟩−θ)f_{w,θ}(x)=\text{sign}(\langle x,w \rangle -θ)fw,θ​(x)=sign(⟨x,w⟩−θ), where the weight vector w∈Rnw\in\mathbb{R}^nw∈Rn is a unit vector, θ∈Rθ\in\mathbb Rθ∈R is a threshold, and typically x∈Rnx\in\mathbb{R}^nx∈Rn or x∈{−1,1}nx\in\{-1,1\}^nx∈{−1,1}n. When θ=0θ=0θ=0, the LTF is called homogeneous, and we write fw:=fw,0f_w:=f_{w,0}fw​:=fw,0​. Such functions are among the most important objects in machine learning, since they serve to linearly discriminate positive and negative examples. We give three positive results about learning LTFs: 1. Suppose we can make real-domain queries, meaning we can compute fw,θ(x)f_{w,θ}(x)fw,θ​(x) at any x∈Rnx\in\mathbb{R}^nx∈Rn of our choice. We give a quantum algorithm that learns fw,θf_{w,θ}fw,θ​ up to Euclidean error εεε using O(log⁡(n/ε))O(\log(n/ε))O(log(n/ε)) membership queries and O~(n)\widetilde{O}(n)O(n) other gates. Then we have also learned fw,θf_{w,θ}fw,θ​ up to error O(ε)O(ε)O(ε) when xxx is Gaussian. Classical algorithms need Ω(nlog⁡(1/ε))Ω(n\log(1/ε))Ω(nlog(1/ε)) queries. 2. A homogeneous LTF fwf_wfw​ on domain {−1,1}n\{-1,1\}^n{−1,1}n where www has only kkk nonzero entries of the same value, is the Majority function on the support of www. Belovs gave a bounded-error quantum algorithm that identifies the hidden support exactly (and hence learns fwf_wfw​) using O(k1/4)O(k^{1/4})O(k1/4) queries. We give an exponential improvement, using O(log⁡k)O(\log k)O(logk) queries. 3. Suppose we have a unitary UUU that can produce (discretized) quantum examples under Gaussian measure, 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 a weaker access model than membership queries. We give a quantum algorithm based on the efficient Hermite transform of Jain et al. to learn homogeneous LTFs fwf_wfw​ with error εεε under the Gaussian distribution, using O(n1/4/ε)O(n^{1/4}/\sqrtε)O(n1/4/ε​) applications of UUU and U†U^\daggerU† and O~(n2/ε4)\widetilde{O}(n^2/ε^4)O(n2/ε4) other gates.
How many quantum queries are required to determine the coefficients of a degree- d polynomial in n variables? We present and analyse quantum algorithms for this multivariate polynomial interpolation problem over the fields F q , R and C . We show that k C and 2 k C queries suffice to achieve probability 1 for C and R , respectively, where k C = ⌈ ( 1 / ( n + 1 ) ) ( n + d d ) ⌉ except for d =2 and four other special cases. For F q , we show that ⌈( d /( n + d ))( n + d d ) ⌉ queries suffice to achieve probability approaching 1 for large field order q . The classical query complexity of this problem is ( n + d d ) , so our result provides a speed-up by a factor of n +1, ( n +1)/2 and ( n + d )/ d for C , R and F q