1. Introduction
In the field of theoretical computer science, computational complexity aims to measure “how much" computation is necessary and sufficient to finish some certain computational tasks. In classical computation, a simplest model of computation is the decision tree (For more details, we can refer to the survey paper [1]). Correspondingly, the quantum query model (quantum black box model, or quantum decision tree model) is a generalization of the decision tree model in quantum computation [1,2,3,4,5]. Most of famous quantum algorithms are captured by the quantum query model [6], such as Shor’s factoring algorithm [7], Grover’s unstructured search algorithm [8], and so on [9,10,11]. The quantum query model can be investigated in the exact setting and the bounded-error setting [1]. Given an inputx∈D⊆{0,1}nthat can only be accessed through a black box by querying some bitxiof the input, the quantum query model computes an n-bit partial Boolean functionf:D→{0,1} exactly (or with bounded-error) [1]. An exact quantum algorithm must always output the correct function value for all legal inputs [1]. If a quantum algorithm outputs the function value with a probability greater than a constant (>12 ) for all legal inputs, then the quantum algorithm is said to compute the function with bounded error. In the quantum query model, we care the quantum query complexity that is the decision tree complexity for the quantum model [1,2,3]. Roughly speaking, the exact (or bounded-error) quantum query complexity of a Boolean function denotes the number of queries of an optimal quantum decision tree that computes the Boolean function exactly (or with bounded-error) [1].
In quantum computation, the hope is to find out many problems whose computational complexity in quantum computer is less than the computational complexity in classical computer, i.e., finding out many problems that have the quantum advantage. For a function f, quantum advantage can be investigated by comparing the exact quantum query complexityQE(f)and the deterministic decision tree complexityD(f) [1], whereD(f) denotes the minimum number of queries used by any classical deterministic algorithm. Over the past decade, there have been many results on the quantum query model [12,13,14,15,16,17,18,19,20]. In particular, Ambainis et al. [14] proved that exact quantum algorithms have advantage for almost all Boolean functions in 2015. For total Boolean functions (i.e., partial Boolean functions withD={0,1}n), the first known quantum speed-up wasQE(f)=O(D(f)0.8675…) by Ambainis [13], and then Ambainis et al. [21] presented a better separation with a quadratic gap between the exact quantum query complexity and the deterministic decision tree complexity, up to polylogarithmic factors.
For any partial Boolean function, the best separation is still achieved by Deutsch-Jozsa algorithm [10,17]. And, some main related results are as follows. In 2007, Montanaro [22] considered a problem of exact oracle identification with a single quantum query. In 2015, Montanaro et al. [15] investigated all small total Boolean functions up to four bits and symmetric total Boolean functions up to six bits. In 2016, Qiu et al. [17,23] generalized Deutsch-Jozsa problem and gave its optimal exact quantum query algorithm, and in particular, Qiu et al. [23,24] presented all symmetric partial Boolean functions (it is a special class of partial Boolean functions) with exact quantum query complexity 1, and proved that any symmetric partial Boolean function f can be computed exactly by a 1-query quantum algorithm if and only if f can be computed by the Deutsch-Jozsa algorithm [10]. In the same year, Aaronson et al. [25] showed an equivalence between 1-query quantum algorithms and bounded quadratic polynomials in the bounded-error setting. Also in the same year, Grillo et al. [26] investigated partial Boolean functions which are computed exactly with t queries. However, the result in [26] (i.e., Theorem 5) for any numerical procedure is difficult to use as an analytic tool. In 2017, Arunachalam et al. [27] proved a characterization of t-query quantum algorithms in terms of the unit ball of a space of degree-(2t) polynomials. Using the same method as the proof of Theorem 11 given by Qiu et al. [23,24], Chen et al. [28] showed that the total Boolean functions with exact quantum query complexity 1 are the one-bit functionf(x)=x1and the two-bit functionx1⊕x2 , and Mukherjee et al. [29] noticed that this result of [28] is the same as a result by Montanaro et al. [15].
As above, the exact 1-query quantum model for all partial Boolean functions is expected to be investigated further. On one hand, similar to Refs. [23,24,25,26,27], establishing an equivalence between quantum query algorithms and some other theories will inspire more new algorithms and related results on the complexity theory. On the other hand, with the development of quantum computer, the problems solved by 1-query quantum algorithms may be the first to be used widely in the future, as the 1-query quantum algorithm costs the least unitary operators. Specifically, we investigate the following two problems.
-
The partial Boolean functions can be regarded as a generalization of the total Boolean functions. Actually, Deutsch’s algorithm [9] computes a two-bit partial (also total) Boolean function using one query. Both the extension of Deutsch’s problem (computed by Deutsch-Jozsa algorithm [10]) and a generalized Deutsch-Jozsa problem in Ref. [17] are described by even n-bit partial (not total) Boolean functions. Naturally, what is the characterization of partial Boolean functions with exact quantum query complexity 1?
- In the field of quantum computation, it is a fundamental and interesting subject to evaluate the computational power of the 1-query quantum model, and is also critical for discovering quantum advantage. Specifically, the number of partial Boolean functions with exact quantum query complexity 1 shows the power and advantage of the exact 1-query quantum model. So, how many partial Boolean functions can be computed exactly by 1-query quantum algorithms?
The rest of the paper is organized as follows. In Section 2, we introduce some basis notations and the related knowledge. Then, we state and prove the first characterization and a related result in Section 3. Next, we state and prove the second characterization and two related results in Section 4. Finally, the conclusion is presented in Section 5. For the sake of brevity and readability, all proofs of lemmas in this paper are showed in Appendix A, Appendix B, Appendix C and Appendix D.
2. Preliminaries
In this section, we introduce some basic notations and recall some basic knowledge of partial Boolean functions and the exact quantum query model. For the details, we can refer to Refs. [1,6,20,23,30,31].
As usual, notationsN,R, andCdenote the sets of natural numbers, real numbers, and complex numbers, respectively. In particular, we will always use the notation D (or promised set) to denote a subset of{0,1}n. For any inputx=x1 x2⋯xn∈D, the Hamming weight (number of 1s) of x is denoted by|x|. Given a real number set S, the notationmaxSdenotes the maximum in S and the notationminSdenotes the minimum in S. For any finite set S, the notation|S|denotes the number of elements in S. For a complex matrix A,ATis the transpose of the matrix A, andA†=(AT)*is the conjugate transpose of the matrix A. Obviously,A†=ATfor any real matrix A. Furthermore, the notation|a〉is usually used to denote a quantum state which is a unit vector in a Hilbert space and labeled by the notation a. In particular,〈a|=(|a〉)†is a row vector.
In this paper, we mainly concern partial functionsf:D→C,f:D→Randf:D→{0,1}. In general, these functions can be given by a2n-dimensional vector(f(0),f(1),⋯,f(x),⋯,f(2n−1))Twhose entryf(x)is denoted by * for any undefined inputx∈{0,1}n∖D . For example, the Boolean function f computed by Deutsch’s algorithm [9] can be given by(f(00),f(01),f(10),f(11))=(1,0,0,1). Sometimes, we also use a two-tuple({x:f(x)=0},{y:f(y)=1})to give a certain partial Boolean functionf:D→{0,1} . For example, the even n-bit partial Boolean function f computed by Deutsch-Jozsa algorithm [10] can be given by({x∈{0,1}n:|x|=0,n},{y∈{0,1}n:|y|=n2}).
In order to represent these functions, we need to use two monomialsXS=∏i∈S xiand(−1)S·x=∏i∈S (−1)xi [1,20,30]. In particular,XØ=(−1)Ø·x=1. And, the set{XS:S⊆{1,2,⋯,n}}is usually called the polynomial basis and the set{(−1)S·x:S⊆{1,2,⋯,n}} is usually called Fourier basis [1,20,30]. If a functionp:Rn→Ccan be written asΣS αS XSfor some complex numbersαS , then the function p is called a multilinear polynomial [1]. Meanwhile, the degree of the multilinear polynomial p is defined bydeg(p)=max{|S|:αS≠0}. For any partial functionf:D→C, a multilinear polynomialp(x)represents f if and only ifp(x)=f(x)for allx∈D [1,32]. Unlike total functionsf:{0,1}n→C, the multilinear representation of a partial (not total) functionf:D→Cis usually not unique. Naturally, the degree of a partial (or total) functionf:D→Ccan be defined bydeg(f)=min{deg(p):prepresentsf}.
In the quantum query model, for every inputx∈D, the quantum black boxOxcan be described as a unitary operator which is defined by
Ox|i,j〉=(−1)xi |i,j〉,ifi∈{1,2,⋯,n},|0,j〉,ifi=0.
Here, the integer numberi∈{0,1,2,⋯,n}is the query-part and the label j is the auxiliary space. As a result, a t-query quantum algorithm can be determined by an initial state|ψ0〉and a sequence of unitary transformationsU0,Ox,U1,Ox,⋯,Ox,Utfollowed by a measurement, wheret+1unitary operatorsU0,U1,⋯,Ut are independent of the input [1,6].
3. The First Characterization This section introduces and proves the first characterization and a related result. 3.1. A Characterization by the Linear System of Equations
Inspired by proofs of Theorem 8 in Ref. [23], the first characterization is presented in the following. In fact, the characterization can also be got by Theorem 5 in [26].
Theorem 1.
An n-bit non-constant partial Boolean functionf:D→{0,1}can be computed exactly by a 1-query quantum algorithm, if and only if there exist at least one non-negative solutionz=(z0,z1,z2,⋯,zn )Tof equationsz0+z1+z2+⋯+zn=1 andFT(a⊕b)z=0for alla∈{x:f(x)=0}andb∈{x:f(x)=1}where the function vectorF(x)=(1,(−1)x1 ,(−1)x2 ,⋯,(−1)xn )Tfor anyx=x1 x2⋯xn∈{0,1}n.
Proof.
⇒). Since the algorithm is exact, the quantum stateU1 Oa U0|ψ0〉for alla∈{x:f(x)=0}must be orthogonal to the quantum stateU1 Ob U0|ψ0〉for allb∈{x:f(x)=1}. Meanwhile, since the unitary operatorU1preserves the inner product of any two complex vectors, the quantum stateOa U0|ψ0〉for alla∈{x:f(x)=0}must be orthogonal to the quantum stateOb U0|ψ0〉for allb∈{x:f(x)=1}. For any quantum stateU0|ψ0〉=∑i,j αi,j|i,j〉,note that
Oa U0|ψ0〉=∑jα0,j|0,j〉+∑i,jαi,j (−1)ai |i,j〉
and the inner product
(Oa U0|ψ0〉)† Ob U0|ψ0〉=∑j|α0,j |2+∑i,j(−1)ai⊕bi |αi,j|2=(∑j|α0,j |2,∑j|α1,j |2,⋯,∑j|αn,j|2)(1,(−1)a1⊕b1,⋯,(−1)an⊕bn)T=(z0,z1,⋯,zn)F(a⊕b)=zTF(a⊕b)
where the notationzi=∑j |αi,j|2for alli∈{0,1,2,⋯,n}is introduced in the last equality. Thus, there exists at least one non-negative solutionz=(z0,z1,z2,⋯,zn )Tof equationsz0+z1+z2+⋯+zn= 1 andzTF(a⊕b)=0for alla∈{x:f(x)=0}andb∈{x:f(x)=1}.
⇐). For a non-negative solutionz=(z0,z1,z2,⋯,zn )Tof equationsz0+z1+z2+⋯+zn= 1 andzTF(a⊕b)=0for alla∈{x:f(x)=0}andb∈{x:f(x)=1}, if we set∑j |αi,j|2=zifor alli∈{0,1,2,⋯,n}in the stateU0|ψ0〉=∑i,j αi,j|i,j〉of an undetermined 1-query quantum algorithm, then the inner product
(U1 Oa U0|ψ0〉)† U1 Ob U0|ψ0〉=0
for alla∈{x:f(x)=0}andb∈{x:f(x)=1}. By Gram-Schmidt orthogonalization, we can find an orthonormal basis{U1 Oa U0|ψ0〉:f(a)=0,a∈D}and an orthonormal basis{U1 Ob U0|ψ0〉:f(b)=1,b∈D}, respectively. By the measurement consisting of the two orthonormal bases, the 1-query quantum algorithm (with the stateU0|ψ0〉=∑i,j αi,j|i,j〉) computes f exactly. Thus, Theorem 1 has been proved. □
Discussions on Theorem 1
Theorem 1 transforms the problem of deciding the partial Boolean function with exact quantum query complexity 1 into the problem of solving a linear system of equations. Specifically, the number of variables in the linear system isn+1and the number of equations is1+|{a⊕b:f(a)=0,f(b)=1}|≤2n.
Considering the definition of the exact quantum query complexity, the task of provingQE(f)=kmust be finished by presenting an exact k-query quantum algorithm. For a small n, presenting an optimal exact quantum query algorithm is still quite hard in some cases. Fork=1, Theorem 1 transforms this task to the problem of solving a linear system which is a computable task. For any non-constant n-bit partial Boolean functionf:D→{0,1}, if|D|is not big, then this task can be done efficiently in a classical computer. This is the most important contribution of Theorem 1.
In fact, Theorem 1 is also a practical tool in some cases. In the worst case, the number of equations in the linear system is1+|{a⊕b:f(a)=0,f(b)=1}|which is an exponential number. Note that the number of variables in the linear system isn+1. So, the following two results can be got.
(1)
Given any n-bit partial Boolean function f, if some equations (By basic linear algebra,n+1equations are enough in the best case) lead to an empty (non-negative real) solution of the linear system, then by Theorem 1 these equations are enough to prove that the exact quantum query complexity of f is bigger than 1. Thus, for the best case, other|{a⊕b:f(a)=0,f(b)=1}|−nequations can be ignored and things become quite easy.
(2)
If the exact quantum query complexity of an n-bit partial Boolean functionf:D→{0,1}is bigger than 1, then the exact quantum query complexity of any n-bit partial Boolean function g defined by
g(x)=f(x),∀x∈D,g(x)∈{0,1,*},otherwise
is also bigger than 1. The number of partial Boolean functions in this form is32n−|D|which is also an exponential number.
3.2. Partial Boolean Functions Depending on All Bits This subsection considers a special class of all partial Boolean functions using Theorem 1.
First, we introduce the following definition [14,31] (A background of this definition is introduced briefly in Appendix A).
Definition 1.
[14,31]. An n-bit partial Boolean functionf:D→{0,1}is said to depend on k (≤n) bits, if k is the minimum number of variables in all multilinear polynomials representing f.
By Definition 1, the two-bit total Boolean function computed by Deutsch’s algorithm [9] depends on two bits, and, for even n, the n-bit partial Boolean function computed by Deutsch-Jozsa algorithm [10] depends onn2+1bits.
For partial Boolean functions depending on all bits, the result is stated in the following.
Theorem 2.
For any n-bit partial Boolean functionf:D→{0,1}depending on all n bits, f can be computed exactly by a 1-query quantum algorithm, if and only iff(x)=x1or1⊕x1withD={0,1}, orf(x)=x1⊕x2or1⊕x1⊕x2withD∈{E⊆{0,1}2:|E|∈{3,4}}. □
Proof.
⇒). For any n-bit partial Boolean functionf:D→{0,1}andk∈{1,2,⋯,n}, any multilinear polynomial representation of f can be written as
f(x)=xk q1(x1,x2,⋯,xk−1,xk+1,⋯,xn)+q2(x1,x2,⋯,xk−1,xk+1,⋯,xn)
whereq1(x1,x2,⋯,xk−1,xk+1,⋯,xn)andq2(x1,x2,⋯,xk−1,xk+1,⋯,xn)are two multilinear polynomials on variablesx1,x2,⋯,xk−1,xk+1,⋯,xn(i.e., not on the variablexk). Let the inputXk{k}be the same as the inputXkexcept for the k-th bit being flipped. With an argument, if f depends on n bits (By Definition 1, this means that the number of variables in all multilinear polynomials representing f is at least n), then there must exist at least n input pairs(X1,X1{1}),(X2,X2{2}),⋯,(Xn,Xn{n})such that1⊕f(Xk)=f(Xk{k})∈{0,1}for allk∈{1,2,⋯,n}(In fact, for a certain k, iff(X)=f(X{k})always hold for anyX∈D, then the polynomialq1(x1,x2,⋯,xk−1,xk+1,⋯,xn)=0andf(x)=q2(x1,x2,⋯,xk−1,xk+1,⋯,xn)depends on at mostn−1bits. This result contradicts the assumption that f depends on n bits).
By Theorem 1, there exists a non-negative vectorz=(z0,z1,z2,⋯,zn )Tsuch that the equationsz0+z1+z2+⋯+zn=1 and
zTF(Xk⊕Xk{k})=0=z0+∑i≠kzi−zk,k∈{1,2,⋯,n}
hold. Combining withz0+z1+z2+⋯+zn=1=z0+∑i≠k zi+zk, we have2zk=1for allk∈{1,2,⋯,n}which implies thatn=1withz=(12,12)Torn=2withz=(0,12,12)T.
The casen=1is trivial, and f can be given by(f(0),f(1))=(0,1)or(1,0). For the casen=2, the unique non-negative solutionz=(0,12,12)Timplies that
12(−1)a1⊕b1+12(−1)a2⊕b2=0
for alla∈{x:f(x)=0}andb∈{x:f(x)=1}. Then,a1⊕a2≠b1⊕b2for alla∈{x:f(x)=0}andb∈{x:f(x)=1}. This result implies thatf(x)=x1⊕x2or1⊕x1⊕x2. Meanwhile, sincef:D→{0,1}is a two-bit partial Boolean function depending on two bits,|D|∈{3,4}.
⇐). This direction is trivial. Thus, Theorem 2 has been proved. □
Discussions on Theorem 2
Since there are many partial Boolean functions with exact quantum query complexity 1, it is necessary to divide them into some classes. In 2015, Montanaro et al. [15] investigated all small total Boolean functions up to four bits and symmetric total Boolean functions up to six bits. In 2016, Qiu et al. [23,24] studied all symmetric partial Boolean functions and remained others open. By Definition 1, it is natural to divide all n-bit partial Boolean functions inton+1classes.
For all n-bit partial Boolean functions depending on 1 and 2 bits, the problem is trivial. For n-bit partial Boolean functions depending on n bits, the result is put into Theorem 2. By a trivial (not direct) argument, the statement that a partial Boolean function f depends on all n bits is consistent with previous definition. This is a key hint in the proof. Intuitively, this implication seems obvious. However, since the implication does not hold forn2, we remark that a proof is necessary.
Theorem 2 clarifies all partial Boolean functions that depend on all bits and can be computed exactly by a 1-query quantum algorithm. Observing the unique multilinear polynomial of any total Boolean function, any n-bit total Boolean function depending on k(≤n) bits can be identified with a k-bit total Boolean function depending on k bits. Therefore, Theorem 2 generalizes the result on total Boolean functions [15] to partial Boolean functions. Surprisingly, the number of all n-bit partial Boolean functions depending on n bits is quite big. This fact is implied by the following lemma.
Lemma 1.
LetN(n)(n≥1)denote the number of all n-bit partial Boolean functions depending on n bits. Then,N(n)≥2×32n−n−1.
In contrast, the number of all n-bit total Boolean functions (investigated by Montanaro et al. [15]) is22n and the number of all n-bit symmetric partial Boolean functions (investigated by Qiu et al. [23,24]) is3n+1.
As a result, many n-bit partial Boolean functions depending onk∈{3,⋯,n−1}bits is sitll unclear. This motivate us to investigate partial Boolean functions further.
4. The Second Characterization This section introduces and proves the second characterization and two related results. 4.1. A Characterization by the Sum-of-Squares Representation
Following the discussions of Lemma 7 and Theorem 17 in [1], iff:D→{0,1}can be computed by an exact 1-query quantum algorithm, then there exist degree-1 SOS complex representations of f and1−f. Thus, this subsection introduces and proves a characterization using the SOS representation.
First, the following lemma follows the discussions of Lemma 7 and Theorem 17 in [1]. This lemma is proved and also used in our recent paper [33].
Lemma 2.
[1]. If there exists an exact 1-query quantum algorithm computing an n-bit partial Boolean functionf:D→{0,1}, then there must exist degree-1 SOS complex (multilinear polynomials) representations of f and1−f.
In order to give the second characterization, we introduce the following definition. This definition is also used in [33]. More related definitions can be seen in Refs. [34,35,36,37,38,39].
Definition 2.
[34,35,36,37,38,39]. Let the function vectorF(x)=(1,(−1)x1 ,(−1)x2 ,⋯,(−1)xn )T. For an n-bit partial Boolean functionf:D→{0,1}, if there exist two real(1+n)-dimensional column vector sets{a1,a2,⋯,ap}and{ap+1,ap+2,⋯,ap+q}such that the equations
f(x)=∑l=1p|alTF(x)|2,x∈D,1−f(x)=∑l=p+1p+q|alTF(x)|2,x∈D,∑l=p+1p+q|alT F(x)|2=1−∑l=1p|alTF(x)|2,x∈{0,1}n,
hold, then the(p+q)×(1+n)complex coefficient matrix[αf]in the form of
[αf]=a1T⋮apTap+1T⋮ap+qT
is called a degree-1 SOS complex representation matrix of f and1−f. Here, every row vectorapTis the coefficient vector of the degree-1 Fourier polynomialalTF(x) in Equation (9).
As we know, for the stateU1 Ox U0|ψ0〉=∑i,j(∑S αi,jS (−1)S·x)|i,j〉in a 1-query quantum algorithm, the amplitude∑S αi,jS (−1)S·xof any basis state|i,j〉is a polynomial of degree≤1. Therefore,∑S αi,jS (−1)S·x=(αi,jØ,αi,j{1},αi,j{2},⋯,αi,j{n})(1,(−1)x1 ,(−1)x2 ,⋯,(−1)xn )T. Then, the coefficient matrixαi,jS(here, the number pairi,jis the row index and the number set S the column index. In a 1-query quantum algorithm, the number pairi,jtraverses all basis states and the set S traversesØ,{1},{2},⋯,{n}) withn+1columns in the form of
[aØ,a{1},a{2},⋯,a{n}]
can be used to represent the stateU1 Ox U0|ψ0〉. Without loss of generality, assume that the basis states in a 1-query quantum algorithm are the computational basis{|0〉,|1〉,|2〉,⋯}. Next, the equationU1 Ox U0|ψ0〉=αi,jSF(x)holds (here,F(x)=(1,(−1)x1 ,(−1)x2 ,⋯,(−1)xn )T). In order to distinguish the coefficient matrix of the stateOx U0|ψ0〉from the coefficient matrix of the stateU1 Ox U0|ψ0〉, the notationβi,jSdenotes the coefficient matrixU1−1αi,jSof the stateOx U0|ψ0〉.
By Definition 2 and the coefficient matrix, the second characterization is presented in the following.
Theorem 3.
Any n-bit non-constant partial Boolean functionf:D→{0,1}can be computed exactly by a 1-query quantum algorithm, if and only if there exists a degree-1 SOS complex representation matrix[αf]of f and1−fsuch that
[αf]†[αf]=diag(u0,u1,u2,⋯,un).
Proof.
⇒). On one hand, the coefficient matrices of the statesU1 Ox U0|ψ0〉andOx U0|ψ0〉are in the form of
αi,jS=[aØ,a{1},a{2},⋯,a{n}]
and
βi,jS=U1−1αi,jS,
respectively. On the other hand, for any quantum state
U0|ψ0〉=∑jα0,jØ|0,j〉+∑i≠0∑jαi,jØ|i,j〉,
the state
Ox U0|ψ0〉=∑jα0,jØ|0,j〉+∑i≠0∑jαi,jØ (−1)xi |i,j〉.
Thus, the coefficient matrix of the stateOx U0|ψ0〉is in the form of a block diagonal matrix
βi,jS=diag(B0,B1,⋯,Bn)
where the i-th block matrix
Bi=αi,0Øαi,1Ø⋮αi,jØ⋮
for every fixedi∈{0,1,2,⋯,n}. Thus,U1−1αi,jS=βi,jS=diag(B0,B1,⋯,Bn).
According to Lemma 2 and Definition 2, the coefficient matrixαi,jSof the stateU1 Ox U0|ψ0〉is an SOS complex representation matrix[αf]of the partial Boolean function f and1−f. Meanwhile, since all columns of any block-diagonal matrixdiag(B0,B1,⋯,Bn)are pairwise orthogonal and the unitary operatorU1−1preserves the inner product of any two complex vectors, all columns of the matrix[αf] are also pairwise orthogonal. Thus, Equation (12) holds.
⇐). For a degree-1 SOS complex representation matrix[αf]of f and1−fsatisfying[αf]†[αf]=diag(u0,u1,u2,⋯,un), all columns of the matrix[αf]=[aØ,a{1},a{2},⋯,a{n}]are pairwise orthogonal. Note that we can always get a sequence of proper vectorsB0,B1,⋯,Bnsatisfying||B0||=||aØ||=u0and||Bi||=||a{i}||=uifor alli∈{1,2,⋯,n}(for example,Bi=(ui,0,0,⋯)T). Since all columns of[αf]anddiag(B0,B1,⋯,Bn)are pairwise orthogonal, there always exists a unitary operatorU1−1such thatU1−1[αf]=diag(B0,B1,⋯,Bn).
As a result, the three statesU1 Ox U0|ψ0〉,Ox U0|ψ0〉andU0|ψ0〉of an exact 1-query quantum algorithm computing f can be determined by[αf],diag(B0,B1,⋯,Bn)and
B0B1⋮Bn,
respectively. Thus, Theorem 3 has been proved. □
Discussions on Theorem 3
In order to use Theorem 3, we need to find a pair of SOS real representations of f and1−f first, and then transform it into a proper SOS complex representation matrix. Since it is feasible to get a pair of SOS real representations for very small (partial) Boolean functions [34,35,36,37,38,39], Theorem 3 can be tested on very small partial Boolean functions.
To some extent, Theorem 3 provides a different style for the characterization of partial Boolean function with exact quantum query complexity 1. On one hand, similar to Ref. [25] (showed an equivalence between 1-query quantum algorithms and bounded quadratic polynomials in the bounded-error setting) and [27] (proved a characterization of t-query quantum algorithms in terms of the unit ball of a space of degree-(2t)polynomials), Theorem 3 shows an equivalence between the sum-of-squares polynomial representations and the exact 1-query quantum algorithm. In fact, Theorem 3 transforms the problem of provingQE(f)=1to the problem of solving a system of multivariate quadratic equations which is a difficult problem in practical applications. On the other hand, combining Theorem 3 with Theorem 1, we can see that the problem of solving the system of multivariate quadratic equations in Theorem 3 can be reduced to the problem of solving the linear system of equations in Theorem 1. This result is a quantum-inspired result which is an interesting application of the quantum theory.
4.2. Partial Boolean Functions Depending on k Bits This subsection considers partial Boolean functions depending on k bits. Inspired by Theorem 3, we get the following result.
Theorem 4.
Let the function vectorP(x)=(1,x1,x2,⋯,xn)Twherex=x1 x2⋯xn∈{0,1}n. For any n-bit non-constant partial Boolean functionf:D→{0,1}, if f depends on k bits and can be computed exactly by a 1-query quantum algorithm, then
rank((⋯,P(x),⋯)f(x)=0),rank((⋯,P(x),⋯)f(x)=1)∈{1,2,⋯,n}
and
rank((⋯,P(x),⋯)f(x)=0)+rank((⋯,P(x),⋯)f(x)=1)−(2n+2−k)≤0
where all columnsP(x)in the matrix(⋯,P(x),⋯)f(x)=btraverse all legal inputsx∈Dsatisfyingf(x)=bforb∈{0,1}.
In order to prove Theorem 4, the following lemma is necessary.
Lemma 3.
If an n-bit partial Boolean functionf:D→{0,1}depends on k (≤n) bits and there exists a degree-1 SOS complex representation of f, then there exist at least k non-zero columnsa{i1},a{i2},⋯,a{ik}in the matrix[αf]wherei1,i2,⋯,ik∈{1,2,⋯,n}.
Then, Theorem 4 can be proved in the following.
Proof.
Recall that all columns of the matrix(⋯,P(x),⋯)f(x)=btraverse all legal inputsx∈Dsatisfyingf(x)=bwhere the vector functionP(x)=(1,x1,x2,⋯,xn)T. Note that the size of the matrix(⋯,P(x),⋯)f(x)=bis(n+1)×|{x:f(x)=b}|.
On one hand, for a non-constant n-bit partial Boolean function f, if there exists a degree-1 SOS complex representation, then there exists a sequence of(n+1)-dimensional non-zero vectorsa1,a2,⋯,apsatisfying
f(x)=∑l=1p|alTP(x)|2,∀x∈D.
Considering Equation (22) for x such thatf(x)=0forcesalTP(x)=0. Thus,al⏊P(x)for allP(x)withf(x)=0. Then,alfor any l is in the orthogonal complement of the space spanned by allP(x)withf(x)=0, we know the existence of the sequence (i.e., non-zero vectorsa1,a2,⋯,ap) requires1≤(n+1)−rank((⋯,P(x),⋯)f(x)=0)≤n. Similarly, considering Equation (22) for x such thatf(x)=1, we can get1≤(n+1)−rank((⋯,P(x),⋯)f(x)=1)≤n . Thus, Equation (20) holds.
On the other hand, by Theorem 3, for an n-bit partial Boolean function f with exact quantum query complexity 1, there exists an SOS complex representations matrix[aØ,a{1},a{2},⋯,a{n}]=[αf]of f and1−fsuch thatU1−1[αf]=diag(B0,B1,⋯,Bn). By Equation (10), we can see that
rank([αf])≤rank([a1,⋯,ap])+rank([ap+1,⋯,ap+q]).
Moreover,
rank([a1,⋯,ap])≤(1+n)−rank((⋯,P(x),⋯)f(x)=0)
and
rank([ap+1,⋯,ap+q])≤(1+n)−rank((⋯,P(x),⋯)f(x)=1)
can be obtained by considering Equation (22) for x such thatf(x)=0andf(x)=1, respectively. Using the property (i.e., preserving Euclidean norm and the rank) of the unitary matrix and Lemma 3,
k≤|{i∈{0,1,⋯,n}:a{i}≠0}|(Lemma3)=|{i∈{0,1,⋯,n}:∥Bi∥≠0}|(TheunitaryoperatorU1preservesEuclideannorm)=rank(diag(B0,B1,⋯,Bn))(Thecharacterizationoftheblockdiagonalmatrix)=rank([aØ,a{1},a{2},⋯,a{n}])(TheunitaryoperatorU1preservestherank)=rank([αf])≤2(1+n)−∑b=01rank((⋯,P(x),⋯)f(x)=b).(Equations(23)–(25))
Thus, Theorem 4 has been proved. □
Discussions on Theorem 4
The inverse direction of Theorem 4 is not always hold. For example, a three-bit partial Boolean function f given by the two-tuple({x∈{0,1}3:|x|=0},{y∈{0,1}3:|y|=1}). Here, it is not difficult to know thatrank((⋯,P(x),⋯)f(x)=0)=1andrank((⋯,P(x),⋯)f(x)=1)=3 . However, using Theorem 10 of Ref. [23],QE(f)≥2.
Theorem 4 gives a necessary condition on the case that an n-bit partial Boolean function depends on k bits and can be computed exactly by a 1-query quantum algorithm. That is, the functionF(f):=rank((⋯,P(x),⋯)f(x)=0)+rank((⋯,P(x),⋯)f(x)=1)−(2n+2−k)must be negative.
Compared with Theorem 1, Theorem 4 provides an approximate method on deciding the exact quantum query complexity of a partial Boolean function. Most importantly, the method in Theorem 4 is more efficient than Theorem 1. In order to construct the linear system in Theorem 1, we should observe at most|{a:f(a)=0}||{b:f(b)=1}|equations. In contrast, we only observe at most|{a:f(a)=0}|+|{b:f(b)=1}|inputs in Theorem 4. From this point, Theorem 4 is more efficient than Theorem 1. Note that the result in Theorem 4 is one-side exact. That is, if the exact quantum query complexity of a partial Boolean function f is bigger than 1 by Theorem 4, then the result is exact.
4.3. Estimating the Number of Partial Boolean Functions Depending on k Bits
In this subsection, let us evaluate the numberN1(n,k)of n-bit partial Boolean functions which depend on k bits and can be computed exactly by a 1-query quantum algorithm.
As a preparation, the following lemma is necessary.
Lemma 4.
Let the vector functionP(Xk)=(1,Xk,1,Xk,2,⋯,Xk,n)Tfor a stringXk=Xk,1 Xk,2⋯Xk,n∈{0,1}n. Ifn≥2, for any j∈{1,2,⋯,n+1}different linearly independent vectorsP(X1),P(X2),⋯,P(Xj), there exist at mostTj≤2j−1−jother different vectorsP(Xj+1),P(Xj+2),⋯,P(Xj+Tj)satisfyingrank([P(X1),P(X2),⋯,P(Xj+Tj)])=j.
By Theorem 4, the fifth result is the following.
Theorem 5.
LetN1(n,k)be the number of all n-bit partial Boolean functions which depend on k bits and can be computed exactly by a 1-query quantum algorithm. Ifn≥3andk≥2, thenN1(n,k)≤n2 22n−1(1+22−k)+2n2.
Proof.
Recall that all columns in the matrix(⋯,P(x),⋯)f(x)=btraverse all legal inputsx∈Dsatisfyingf(x)=bwhere the function vectorP(x)=(1,x1,x2,⋯,xn)T. Letr0denote the rank of(⋯,P(x),⋯)f(x)=0andr1the rank of(⋯,P(x),⋯)f(x)=1. According to Theorem 4,N1(n,k)is not bigger than the number of all n-bit partial Boolean functions satisfyingr0+r1≤2n+2−kand1≤r0,r1≤n. For every fixed(r0,r1), an n-bit partial Boolean function can be determined using the following two steps.
In the first step, we chooser0linearly independent vectors
P(X1),P(X2),⋯,P(Xr0 )
andr1linearly independent vectors
P(Y1),P(Y2),⋯,P(Yr1 )
for someX1,X2,⋯,Xr0 ,Y1,Y2,⋯,Yr1 ∈{0,1}n, respectively. Here,r0linearly independent vectorsP(X1),P(X2),⋯,P(Xr0 )correspond tor0different inputs with function value 0, andr1linearly independent vectorsP(Y1),P(Y2),⋯,P(Yr1 )correspond tor1different inputs with function value 1. For every fixed(r0,r1), the number of different selections (i.e.,{P(X1),P(X2),⋯,P(Xr0 )}and{P(Y1),P(Y2),⋯,P(Yr1 )}) is not bigger than
2n r02n−r0r1≤2n(r0+r1)
for alln≥3andk≥2.
In the second step, we add some other vectorsP(Xr0+1),⋯ andP(Yr1+1),⋯ to the sets{P(X1),P(X2),⋯,P(Xr0 )}and{P(Y1),P(Y2),⋯,P(Yr1 )}, respectively. Here, every newly added vector in the set{P(Xr0+1),⋯}should be represented linearly by the determinedr0linearly independent vectorsP(X1),P(X2),⋯,P(Xr0 )and every newly added vector in the set{P(Yr1+1),⋯}should be represented linearly by the determinedr1linearly independent vectorsP(Y1),P(Y2),⋯,P(Yr1 ). After that, an n-bit partial Boolean function f is determined as follows.f(x)=0for x in the set{X1,X2,⋯,Xr0 ,⋯},f(x)=1for x in the set{Y1,Y2,⋯,Yr1 ,⋯} , and it is undefined for the rest cases. Using Equation (29) and Lemma 4, for every fixed(r0,r1), there are at most
2n(r0+r1) 2(2r0−1−r0) 2(2r1−1−r1)<22n2 2(2n−1+2n+1−k)=22n−1(1+22−k)+2n2
partial Boolean functions with a pair of fixedr0andr1. Note that the number of different(r0,r1)is not bigger thann2. Thus, Theorem 5 has been proved. □
Discussions on Theorem 5
The most important contribution of Theorem 5 is to give an estimate on the number of partial Boolean functions with exact quantum 1-query complexity. This is the first non-trivial upper bound on this problem. In contrast,32n is the number of all n-bit partial Boolean functions, as each n-bit partial Boolean function corresponds to a stringf(0)f(1)⋯f(2n−1)∈{0,1,*}2n . In fact, the exact quantum query complexity of any n-bit partial Boolean function is in the set{0,1,2,⋯,n}, which implies thatmax{Nj(n,k):j,k∈{0,1,2,⋯,n}}≥32n (n+1)2. Here, the notationNj(n,k)is used to denote the number of n-bit partial Boolean functions which depend on k bits and can be computed exactly by a j-query quantum algorithm. Thus, all n-bit partial Boolean functions with exact quantum query complexity 1 only make up a very tiny proportion of all n-bit partial Boolean functions.
Furthermore, corresponding to Fact 1 in Ref. [23], the following Fact 2 is also applicable to all partial Boolean functions, as a common 1-query quantum algorithm computes the two partial Boolean functions.
Fact2.For any two partial Boolean functions f and g satisfying{x:g(x)=0}⊆{x:f(x)=0}and{y:g(y)=1}⊆{y:f(y)=1}, if f can be computed exactly by a 1-query quantum algorithm, then g can also be computed exactly by this 1-query quantum algorithm.
As we know, the partial Boolean function computed by Deutsch-Jozsa algorithm can be written as
f(x)=0,∀|x|=n2,1,|x|=0,n.
By Fact 2, the exact quantum query complexity of any partial Boolean function g defined by
g(x)=0or*,∀|x|=n2,1or*,|x|=0,n.
is also 1. The number of functions in this form is3×(2nn2−1). Thus, for an even integer n,3×(2nn2−1)is a trivial lower bound on the number of n-bit partial Boolean functions with exact quantum query complexity 1. In general, given an n-bit partial Boolean function with exact quantum query complexity 1, we can find out trivially at least(2|{a:f(a)=0}|−1)×(2|{b:f(b)=0}|−1)different partial Boolean functions with exact quantum query complexity 1. By Stirling’s approximation
n!≈2πnnen,
we have
nn2=n!n2!2≈2πn(ne)n2πn2n2en22=2πnπn2n.
Thus, the trivial lower bound
3×(2nn2−1)≈3×22πnπn2n.
Finally, the gap between the upper bound and the lower bound comes from the following two aspects. The first aspect is that the upper bound is obtained from a necessary condition (i.e., Theorem 4) and an approximate counting argument. The second aspect is that there exist many unknown partial Boolean functions with exact quantum query complexity 1. 5. Conclusions
Motivated by this issue of exact 1-query quantum model [9,10,15,22,23,24], in this paper, we have investigated the power and advantage of the exact 1-query quantum model for partial Boolean functions. Specifically, we have contributed two sufficient and necessary conditions for characterizing n-bit partial Boolean functions with exact quantum query complexity 1, and one necessary condition for characterizing n-bit partial Boolean functions that depend on k(k≤n)bits and can be computed exactly by a 1-query quantum algorithm. Using these characterizations, we have clarified all n-bit partial Boolean functions that depend on n bits and can be computed exactly by a 1-query quantum algorithm (in fact,n≤2in this case, i.e. Theorem 2). Also, we have proved that the number of all n-bit partial Boolean functions with exact quantum query complexity 1 is quite small. As a result, the following two problems are worthy of further consideration.
-
Find all (or some) non-trivial n-bit partial Boolean functions with exact quantum query complexity 1. This is an interesting problem for the following two aspects. On one hand, the upper bound (given by Theorem 5) of the actual number of partial Boolean functions in this class is quite big. On the other hand, known non-trivial n-bit partial Boolean functions in this class are still fairly rare [9,10,15,22,23,24].
-
How many n-bit partial Boolean functions can be computed exactly (or with bounded-error) by k-query quantum algorithms for allk∈{2,3,⋯,n} ? The solution of this problem is a quantitative evaluation of the advantage of the k-query quantum model. In contrast, the result of Ambainis et al. [14] is a qualitative evaluation of the advantage of the quantum query model.
Author Contributions
Conceptualization, G.X. and D.Q.; formal analysis, G.X. and D.Q.; investigation, G.X. and D.Q.; writing-original draft preparation, G.X. and D.Q.; visualization, G.X. and D.Q.; supervision, D.Q.; funding acquisition, D.Q. All authors have read and agreed to the published version of the manuscript.
Funding
This work is supported in part by the National Natural Science Foundation of China (Nos. 61572532, 61876195), the Natural Science Foundation of Guangdong Province of China (No. 2017B030311011).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Data available in a publicly accessible repository The data presented in this study are openly available in [repository name e.g., FigShare] at [doi], reference number [reference number].
Acknowledgments
The authors would like to thank the anonymous referees for important suggestions that help us improve the quality of the manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
Appendix A. The Background of Definition 1
First, the following definition is used widely for total Boolean functions (i.e.,D={0,1}n ) [14,28,31].
Definition 3.
[31]. Given an n-bit partial Boolean functionf:{0,1}n→{0,1}, we say that f depends on the k-th (k∈{1,2,⋯,n}) bit if there exists a pair of inputsXk,Xk{k}∈{0,1}nsuch that1⊕f(Xk)=f(Xk{k})∈{0,1}. Here,Xk{k}is the same asXkexcept for the k-th bit being flipped.
Based on Definition 3, the statements "f depends on k bits" and "f depends on all bits (or n bits )" is also used widely for total Boolean functions (i.e.,D={0,1}n). Clearly, if a total Boolean functionf:{0,1}n→{0,1}depends on k bits, then we can always find out a sequencei1,i2, ⋯,iksuch that f depends on thei1-bit, thei2-bit,⋯,and theik-bit. Meanwhile, the unique multilinear polynomial representation of f is on the k variables (i.e.,xi1 ,xi2 ,⋯,xik ). However, for partial Boolean functions (i.e.,D≠{0,1}n ), things become different. On one hand, the even n-bit partial Boolean function g computed by Deutsch-Jozsa algorithm [10] does not depend on any bit (using Definition 3). On the other hand, the partial Boolean function g is not a constant function. Thus, Definition 3 is not proper for many partial Boolean functions, while the statements "f depends on k bits" and "f depends on all bits (or n bits )" should also be reconsidered. This point motivates us to use Definition 1 in this paper. Specifically, in the case of total Boolean functions, Definition 1 is consistent with Definition 3.
Appendix B. Proof of Lemma 1
Proof.
Recall thatN(n)(n≥1)denotes the number of all n-bit partial Boolean functions depending on n bits. For any k-bit(k≥1)partial Boolean functionf:D→{0,1}(D⊆{0,1}k) depending on k bits (Note that D is not an empty set fork≥1), we construct at least32k-1(k+1)-bit partial Boolean function g depending onk+1bits by f. In fact, for any fixedy=y1 y2⋯yk∈D⊆{0,1}k, any(k+1)-bit partial Boolean function g defined by
g(x0)=f(x),∀x∈D,g(x0)=*,∀x∈{0,1}k∖D,g(x1)=1⊕f(y),x=y,g(x1)∈{0,1,*},∀x∈{0,1}k∖{y}
is a(k+1)-bit partial Boolean function depending on(k+1)bits. For anyk≥1 , the last line in Equation (A1) implies that
N(k+1)N(k)≥32k-1.
SinceN(1)=2(i.e.,(f(0),f(1))=(0,1)and(f(0),f(1))=(1,0)), we have
N(n)≥2∏k=1n-132k-1=2×32n-n-1.
The lemma has been proved. □
Appendix C. Proof of Lemma 3
Proof.
Assume that there exist at mostk-1non-zero vectors in all vectorsaØ,a{1},a{2},⋯,a{n}. Then, there exist at leastn-k+1zero vectorsa{ik},a{ik+1},⋯,a{in}whereik,ik+1,⋯,in∈{1,2,⋯,n}. Note that all entriesa{ir}lina{ir}are zeros for alll∈{1,2,⋯,p+q}andr∈{k,k+1,⋯,n}. Therefore,
f(x)=|f1 (x)|2+⋯+|fp(x)|2=∑l=1paØl+∑i∈{1,2,⋯,n}a{i}l (-1)xi 2=∑l=1paØl+∑r∈{1,2,⋯,k-1}a{ir}l (-1)xir 2.
Obviously, the number of variables in this representation of f is at mostk-1. Since f depends on k bits, this is a contradiction. Thus, the lemma has been proved. □
Appendix D. Proof of Lemma 4
Proof.
For every k≥j+1and every fixed inputXr=Xr,1 Xr,2⋯Xr,n∈{0,1}nwherer∈{1,2,⋯,j,k}, letP(Xk)=s1P(X1)+s2P(X2)+ ⋯ +sjP(Xj)which is a linear system of equations on j undetermined variabless1,s2,⋯,sj. Note that this linear system of equations
∑r=1jsr=1,∑r=1jsr Xr,i=Xk,i,i∈{1,2,⋯,n}.
consists ofn+1equations. Since vectorsP(X1),P(X2),⋯,P(Xj)is a base, the rank of the matrix (P(X1),P(X2),⋯,P(Xj)) is j. In other word, for all rows of the matrix (P(X1),P(X2),⋯,P(Xj) ), we can find out a base which consists of j row vectors. After that, the augmented matrix of the linear system Equation (A5)
11⋯11X1,1X2,1⋯Xj,1Xk,1X1,2X2,2⋯Xj,2Xk,2⋮⋮⋮⋮X1,nX2,n⋯Xj,nXk,n
can be transformed into
11⋯11X1,i1X2,i1⋯Xj,i1Xk,i1X1,i2X2,i2⋯Xj,i2Xk,i2⋮⋮⋮⋮X1,ij-1X2,ij-1⋯Xj,ij-1Xk,ij-100⋯0Xk,ij'00⋯0Xk,ij+1'⋮⋮⋮⋮00⋯0Xk,in'
where{i1,i2,⋯,in}={1,2,⋯,n}. According to the solution theory of linear system of equations, if any ofXk,ij',Xk,ij+1',⋯,andXk,in' is non-zero, then there exists no solution of the linear system Equation (A5) and the vectorP(Xk)is not what we want. Otherwise, we can always get a solution
s1s2s3⋮sj=11⋯1X1,i1X2,i1⋯Xj,i1X1,i2X2,i2⋯Xj,i2⋮⋮⋮X1,ij-1X2,ij-1⋯Xj,ij-1-11Xk,i1Xk,i2⋮Xk,ij-1.
As a result, for everyXk,i1 Xk,i2⋯Xk,ij-1∈{0,1}j-1, we either can get a unique stringXk=Xk,1 Xk,2⋯Xk,n∈{0,1}nsatisfyingXk,ij'=Xk,ij+1'= ⋯ =Xk,in'=0 in Equation (A7) or can not get a stringXr,1 Xr,2⋯Xr,n∈{0,1}nsatisfyingXk,ij'=Xk,ij+1'= ⋯ =Xk,in'=0 in Equation (A7). The lemma has been proved. □
1. Buhrman, H.; de Wolf, R. Complexity measures and decision tree complexity: A survey. Theor. Comput. Sci. 2002, 288, 21-43.
2. Beals, R.; Buhrman, H.; Cleve, R.; Mosca, M.; de Wolf, R. Quantum lower bounds by polynomials. J. ACM 2001, 48, 778-797.
3. Ambainis, A. Quantum lower bounds by quantum arguments. J. Comput. Syst. Sci. 2002, 64, 750-767.
4. Childs, A.M.; Landahl, A.J.; Parrilo, P.A. Quantum algorithms for the ordered search problem via semidefinite programming. Phys. Rev. A 2007, 75, 032335.
5. Hyer, P.; Špalek, R. Lower Bounds on Quantum Query Complexity. Bull. Eur. Assoc. Theor. Comput. Sci. 2005, 87, 78-103.
6. Nielson, M.A.; Chuang, I.L. Quantum Computation and Quantum Information, 10th ed.; Cambridge University Press: Cambridge, MA, USA, 2012.
7. Shor, P.W. Algorithms for quantum computation: Discrete logarithms and factoring. In Proceedings of the 35th Annual Symposium on Foundations of Computer Science, Santa Fe, NM, USA, 20-22 November 1994; Goldwasser, S., Ed.; IEEE Computer Society Press: Los Alamitos, CA, USA, 1994.
8. Grover, L.K. A fast quantum mechanical algorithm for database search. In Proceedings of the 28th Annual ACM Symposium on the Theory of Computing, Philadelphia, PA, USA, 22-24 May 1996; ACM: New York, NY, USA, 1996.
9. Deutsch, D. Quantum theory, the Church-Turing Principle and the universal quantum computer. Proc. R. Soc. London Ser. A 1985, 400, 97-117.
10. Deutsch, D.; Jozsa, R. Rapid solution of problems by quantum computation. Proc. R. Soc. London Ser. A 1992, 439, 553-558.
11. Harrow, A.W.; Hassidim, A.; Lloyd, S. Quantum Algorithm for Linear Systems of Equations. Phys. Rev. Lett. 2009, 103, 150502.
12. Ambainis, A.; Iraids, J.; Smotrovs, J. Exact quantum query complexity of EXACT and THRESHOLD. In Proceedings of the 8th Conference on the Theory of Quantum Computation, Communication and Cryptography, Guelph, ON, Canada, 21-23 May 2013; Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik: Dagstuhl, Germany, 2013.
13. Ambainis, A. Superlinear advantage for exact quantum algorithms. In Proceedings of the 45th Annual ACM Symposium on Theory of Computing, Palo Alto, CA, USA, 1-4 June 2013; ACM: New York, NY, USA, 2013.
14. Ambainis, A.; Gruska, J.; Zheng, S.G. Exact quantum algorithms have advantage for almost all Boolean functions. Quantum Inf. Comput. 2015, 15, 435-452.
15. Montanaro, A.; Jozsa, R.; Mitchison, G. On exact quantum query complexity. Algorithmica 2015, 71, 775-796.
16. Ambainis, A.; Iraids, J.; Nagaj, D. Exact Quantum Query Complexity of EXACTnk,l. In SOFSEM 2017: Theory and Practice of Computer Science, Proceedings of the 43rd International Conference on Current Trends in Theory and Practice of Computer Science, Limerick, Ireland, 16-20 January 2017; Steffen, B., Baier, C., Eds.; Springer: Cham, Switzerland, 2017.
17. Qiu, D.W.; Zheng, S.G. Generalized Deutsch-Jozsa problem and the optimal quantum algorithm. Phys. Rev. A 2018, 97, 062331.
18. He, X.Y.; Sun, X.M.; Yang, G.; Yuan, P. Exact Quantum Query Complexity of Weight Decision Problems via Chebyshev Polynomials. Available online: https://arxiv.org/abs/1801.05717. (accessed on 22 December 2020).
19. Kaniewski, J.; Lee, T.; de Wolf, R. Query Complexity in Expectation. In Proceedings of the 42nd International Colloquium on Automata, Languages and Programming, Kyoto, Japan, 6-10 July 2015; Springer: Berlin, Germany, 2016.
20. Montanaro, A.; Nishimura, H.; Raymond, R. Unbounded error quantum query complexity. Theor. Comput. Sci. 2011, 412, 4619-4628.
21. Ambainis, A.; Balodis, K.; Belovs, A.; Lee, T.; Santha, M.; Smotrovs, J. Separations in query complexity based on pointer functions. In Proceedings of the 48th ACM Symposium on Theory of Computing, Cambridge, MA, USA, 19-21 June 2016; pp. 800-813. Available online: https://arxiv.org/abs/1506.04719 (accessed on 22 December 2020).
22. Montanaro, A. Structure, Randomness and Complexity in Quantum Computation. Available online: https://people.maths.bris.ac.uk/csxam/papers/thesis.pdf (accessed on 22 December 2020).
23. Qiu, D.W.; Zheng, S.G. Characterizations of Symmetrically Partial Boolean Functions with Exact Quantum Query Complexity. Available online: https://arxiv.org/abs/1603.06505 (accessed on 22 December 2020).
24. Qiu, D.W.; Zheng, S.G. Revisiting Deutsch-Jozsa Algorithm. Inform. Comput. 2020, 275, 104605.
25. Aaronson, S.; Ambainis, A.; Iraids, J.; Kokainis, M.; Smotrovs, J. Polynomials, Quantum Query Complexity, and Grothendieck's Inequality. In Proceedings of the 31st Conference on Computational Complexity, Tokyo, Japan, 29 May-1 June 2016; Raz, R., Ed.; Schloss Dagstuhl: Wadern, Germany, 2016.
26. Grillo, S.A.; Marquezino, F.L. Quantum query as a state decomposition. Theor. Comput. Sci. 2018, 736, 62-75. Available online: https://arxiv.org/abs/1602.07716 (accessed on 22 December 2020).
27. Arunachalam, S.; Briet, J.; Palazuelos, C. Quantum Query Algorithms Are Completely Bounded Forms. SIAM J. Comput. 2019, 48, 903-925. Available online: https://arXiv:1711.07285 (accessed on 22 December 2020).
28. Chen, W.J.; Ye, Z.K.; Li, L.Z. Characterization of exact one-query quantum algorithms. Phys. Rev. A 2020, 101, 022325.
29. Mukherjee, C.S.; Maitra, S. Classical-Quantum Separations in Certain Classes of Boolean Functions-Analysis Using the Parity Decision Trees. Available online: https://arxiv.org/abs/2004.12942 (accessed on 22 December 2020).
30. De Wolf, R. Nondeterministic quantum query and communication complexities. SIAM J. Comput. 2003, 32, 681-699.
31. Simon, H.U. A tight ω(log log n)-bound on the time for parallel RAM's to compute non-degenerated boolean functions. Inf. Control. 1982, 55, 102-107.
32. Nisan, N.; Szegedy, M. On the degree of Boolean functions as real polynomials. Comput. Complex. 1994, 4, 301-313.
33. Xu, G.L.; Qiu, D.W. From the sum-of-squares representation of a Boolean function to an optimal exact quantum query algorithm. Quantum Inf. Process 2021, 20, 33.
34. Lee, T.; Prakash, A.; de Wolf, R.; Yuen, H. On the sum-of-squares degree of symmetric quadratic functions. In Proceedings of the 31st Conference on Computational Complexity, Tokyo, Japan, 29 May-1 June 2016; Raz, R., Ed.; Schloss Dagstuhl: Wadern, Germany, 2016.
35. Powers, V.; Wörmann, T. An algorithm for sums of squares of real polynomials. J. Pure. Appl. Algebra 1998, 127, 99-104.
36. Lasserre, J.B. A sum of squares approximation of nonnegative polynomials. SIAM J. Optimiz. 2006, 16, 751-765.
37. Lasserre, J.B. Sufficient conditions for a real polynomial to be a sum of squares. Arch. Math. 2006, 89, 390-398.
38. Papachristodoulou, A.; Anderson, J.; Valmorbida, G.; Prajna, S.; Seiler, P.; Parrilo, P. SOSTOOLS Version 3.00 Sum of Squares Optimization Toolbox for MATLAB. Available online: https://arxiv.org/abs/1310.4716 (accessed on 22 December 2020).
39. Blekherman, G.; Gouveia, J.; Pfeiffer, J. Sums of squares on the hypercube. Math. Z. 2016, 284, 41-54.
Guoliang Xu
1,2 and
Daowen Qiu
1,2,*
1Institute of Quantum Computing and Computer Theory, School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou 510006, China
2Guangdong Key Laboratory of Information Security Technology, Sun Yat-sen University, Guangzhou 510006, China
*Author to whom correspondence should be addressed.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer
© 2021. This work is licensed under http://creativecommons.org/licenses/by/3.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Abstract
We provide two sufficient and necessary conditions to characterize any n-bit partial Boolean function with exact quantum query complexity 1. Using the first characterization, we present all n-bit partial Boolean functions that depend on n bits and can be computed exactly by a 1-query quantum algorithm. Due to the second characterization, we construct a function F that maps any n-bit partial Boolean function to some integer, and if an n-bit partial Boolean function f depends on k bits and can be computed exactly by a 1-query quantum algorithm, thenF(f)is non-positive. In addition, we show that the number of all n-bit partial Boolean functions that depend on k bits and can be computed exactly by a 1-query quantum algorithm is not bigger than an upper bound depending on n and k. Most importantly, the upper bound is far less than the number of all n-bit partial Boolean functions for all efficiently big n.
You have requested "on-the-fly" machine translation of selected content from our databases. This functionality is provided solely for your convenience and is in no way intended to replace human translation. Show full disclaimer
Neither ProQuest nor its licensors make any representations or warranties with respect to the translations. The translations are automatically generated "AS IS" and "AS AVAILABLE" and are not retained in our systems. PROQUEST AND ITS LICENSORS SPECIFICALLY DISCLAIM ANY AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES FOR AVAILABILITY, ACCURACY, TIMELINESS, COMPLETENESS, NON-INFRINGMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Your use of the translations is subject to all use restrictions contained in your Electronic Products License Agreement and by using the translation functionality you agree to forgo any and all claims against ProQuest or its licensors for your use of the translation functionality and any output derived there from. Hide full disclaimer