We show that for deterministic polynomial time computations, oracle access to
APP, the class of real functions
approximable by probabilistic Turing machines, is the same as having oracle access to
promise-BPP. First,
we construct a mapping that maps every function in APP to a promise problem
in prBPP, and that preserves completeness, i.e. maps complete functions to complete promise problems.
Next, we construct
a mapping from
prBPP into APP, that maps every promise problem to a function
in APP, and which preserves completeness.
Then, we prove that PAPP=PprBPP.
Finally, we use our results to simplify proofs of important results on APP, such as
the APP-completeness of the function fCAPP,
which approximates the acceptance
probability of a Boolean circuit, the error probability reduction Theorem
for APP functions, and the conditional derandomization result
APP=AP iff prBPP is easy.
Relativization is concerned with comparing computational models with black-box access to an oracle. For promise problems, black-box access is not canonical due to inputs outside of the promise being unconstrained. We study two semantics for such access. Under robust queries, a machine must correctly answer regardless of the completion of the problem,, while loose access requires that the internal choices of a machine do not change based on off-promise queries.
Our first result separates the language and promise settings. Namely, we construct an oracle
O such that
PO=BQPO=AWPPO, but
PromiseBQPO⊆PromiseP/polyO. In particular,
BPPO=BQPO, but
PromiseBQPO=PromiseBPPO, showing that results for languages need not transfer to promises. Next, we use loose queries to strengthen the upper bound on the Quantum-Classical Polynomial Hierarchy from
PPPPP to
QCPH⊆BP⋅PP⊆PromiseBPPPP. The same proof also shows
PPPromiseBQP=PP. Additionally, we show that
PromiseBQP, even when given quantum advice, is self-low under robust queries. Finally, we exhibit an obstruction to transferring language-level counting results to promise classes. Although
AWPP and
APP are low for
PP, a corresponding promise analogue would collapse the counting hierarchy as
GapP⊆FPPromiseAWPP. This motivates the introduction of
PromisePostBQP∗, which restricts
PostBQP to input-indepencent postselection. By showing that it is low for \PP, we obtain
PPPromiseYQP∗=PP.
This paper proves that every language in NP is recognized by an RP[ \\Phi P] machine whose time complexity is quasilinear, apart from the time to verify witnesses. The results significantly improve the number of random bits, success probability, and running time of Valiant and Vazirani's original construction [VV86], and beat both the 2n random bits and time/success tradeoff in subsequent methods based on universal hashing. Questions of further improvements are connected to open problems in the theory of error-correcting codes. 1. Introduction Valiant and Vazirani [VV86] proved that every language L 2 NP is accepted by a polynomial-time bounded probabilistic oracle Turing machine M o which, on any input x, computes a Boolean formula OE x as an oracle query, and accepts if the answer is `1'. The oracle of M o has the "promise property" that whenever OE x has a unique satisfying assignment, it always answers `1', and whenever OE x has no satisfying assignments, it answers `0'. An ...
What is the power of polynomial-time quantum computation with access to an NP oracle? In this work, we focus on two fundamental tasks from the study of Boolean satisfiability (SAT) problems: search-to-decision reductions, and approximate counting. We first show that, in strong contrast to the classical setting where a poly-time Turing machine requires
Θ(n) queries to an NP oracle to compute a witness to a given SAT formula, quantumly
Θ(logn) queries suffice. We then show this is tight in the black-box model - any quantum algorithm with "NP-like" query access to a formula requires
Ω(logn) queries to extract a solution with constant probability. Moving to approximate counting of SAT solutions, by exploiting a quantum link between search-to-decision reductions and approximate counting, we show that existing classical approximate counting algorithms are likely optimal. First, we give a lower bound in the "NP-like" black-box query setting: Approximate counting requires
Ω(logn) queries, even on a quantum computer. We then give a "white-box" lower bound (i.e. where the input formula is not hidden in the oracle) - if there exists a randomized poly-time classical or quantum algorithm for approximate counting making
o(logn) NP queries, then
BPPNP[o(n)] contains a
PNP-complete problem if the algorithm is classical and
FBQPNP[o(n)] contains an
FPNP-complete problem if the algorithm is quantum.
We give efficient deterministic algorithms for converting randomized query algorithms into deterministic ones. We first give an algorithm that takes as input a randomized
q-query algorithm
R with description length
N and a parameter
ε, runs in time
poly(N)⋅2O(q/ε), and returns a deterministic
O(q/ε)-query algorithm
D that
ε-approximates the acceptance probabilities of
R. These parameters are near-optimal: runtime
N+2Ω(q/ε) and query complexity
Ω(q/ε) are necessary. Next, we give algorithms for instance-optimal and online versions of the problem:
∘ Instance optimal: Construct a deterministic
qR⋆-query algorithm
D, where
qR⋆ is minimum query complexity of any deterministic algorithm that
ε-approximates
R.
∘ Online: Deterministically approximate the acceptance probability of
R for a specific input
x in time
poly(N,q,1/ε), without constructing
D in its entirety. Applying the techniques we develop for these extensions, we constructivize classic results that relate the deterministic, randomized, and quantum query complexities of boolean functions (Nisan, STOC 1989; Beals et al., FOCS 1998). This has direct implications for the Turing machine model of computation: sublinear-time algorithms for total decision problems can be efficiently derandomized and dequantized with a subexponential-time preprocessing step.
We study the complexity of problems solvable in deterministic polynomial time with access to an NP or Quantum Merlin-Arthur (QMA)-oracle, such as
PNP and
PQMA, respectively. The former allows one to classify problems more finely than the Polynomial-Time Hierarchy (PH), whereas the latter characterizes physically motivated problems such as Approximate Simulation (APX-SIM) [Ambainis, CCC 2014]. In this area, a central role has been played by the classes
PNP[log] and
PQMA[log], defined identically to
PNP and
PQMA, except that only logarithmically many oracle queries are allowed. Here, [Gottlob, FOCS 1993] showed that if the adaptive queries made by a
PNP machine have a "query graph" which is a tree, then this computation can be simulated in
PNP[log]. In this work, we first show that for any verification class
C∈{NP,MA,QCMA,QMA,QMA(2),NEXP,QMAexp}, any
PC machine with a query graph of "separator number"
s can be simulated using deterministic time
exp(slogn) and
slogn queries to a
C-oracle. When
s∈O(1) (which includes the case of
O(1)-treewidth, and thus also of trees), this gives an upper bound of
PC[log], and when
s∈O(logk(n)), this yields bound
QPC[logk+1] (QP meaning quasi-polynomial time). We next show how to combine Gottlob's "admissible-weighting function" framework with the "flag-qubit" framework of [Watson, Bausch, Gharibian, 2020], obtaining a unified approach for embedding
PC computations directly into APX-SIM instances in a black-box fashion. Finally, we formalize a simple no-go statement about polynomials (c.f. [Krentel, STOC 1986]): Given a multi-linear polynomial
p specified via an arithmetic circuit, if one can "weakly compress"
p so that its optimal value requires
m bits to represent, then
PNP can be decided with only
m queries to an NP-oracle.
The quantum model of computation is a probabilistic model, similar to the probabilistic Turing Machine, in which the laws of chance are those obeyed by particles on a quantum mechanical scale, rather than the rules familiar to us from the macroscopic world. We present here a problem of distinguishing between two fairly natural classes of function, which can provably be solved exponentially faster in the quantum model than in the classical probabilistic one, when the function is given as an oracle drawn equiprobably from the uniform distribution on either class. We thus offer compelling evidence that the quantum model may have significantly more complexity theoretic power than the probabilistic Turing Machine. In fact, drawing on this work, Shor (1994) has recently developed remarkable new quantum polynomial-time algorithms for the discrete logarithm and integer factoring problems.>