Strengths and Weaknesses of Quantum Computing
Paper · 1997 · Charles H. Bennett, Ethan Bernstein, Gilles Brassard A et al.
Summary
A quantum computer can ask a question about many candidate answers in a single operation. Can it use that ability to solve every problem whose proposed answers are easy to check? The question became pressing after Shor gave efficient quantum algorithms for factoring and discrete logarithms. Bennett, Bernstein, Brassard, and Vazirani study what happens when the computer can check candidates through an oracle, a device that answers a query at unit cost. The computer can query it in superposition and use interference to bring out information about the answer. The paper shows how much time this can save when the oracle supplies no structure the computer can exploit directly.
The authors consider a random function and ask whether a given string occurs among its outputs. A preimage, meaning an input mapped to that string, gives an efficiently checkable certificate for a yes answer. With probability 1 over the choice of the oracle, the authors show that some problem in NP relative to that oracle lies beyond bounded-error quantum computation in time o(2ⁿ⁄²), where n is the input length. Grover’s search supplies the matching O(2ⁿ⁄²) upper bound reported by the paper. For a random permutation, the authors instead ask for the first bit of a target’s unique preimage. A preimage certifies either answer, placing the decision problem in NP ∩ co–NP relative to the oracle. The paper proves a lower bound of o(2ⁿ⁄³) in the same almost-sure sense. The authors leave open whether the exponent in the permutation result can be strengthened to match the search exponent.
The proofs track where the computer directs its queries. Changing an answer has little effect on a computation that puts little of its state on the relevant address. For the random function, one change can turn a target with no preimage into a target with a unique preimage. For the permutation, the authors move the preimage by swapping addresses, then analyze a comparison run in which the swaps are introduced over time. This lets them bound how much of the state can reach addresses whose future role is still unknown. The bounds apply to black-box access. Whether quantum computers can solve NP-complete problems in polynomial time with access to their full structure remains open in the paper.
The paper also establishes a positive result about building quantum algorithms out of smaller computations. A bounded-error computation may leave scratch information that distinguishes branches which need to interfere later. The authors reduce the error through independent repetitions and a reversible majority calculation, save the answer, and run the calculation backward. The resulting state puts almost all its weight on a configuration containing the input and the correct answer alone. This construction shows that polynomial-time bounded-error quantum computations can call other computations of the same kind and remain within BQP.
Deep dive: Strengths and Weaknesses of Quantum Computing
Bennett and colleagues show how fast quantum computers can search through an oracle and how to reuse a quantum computation without leaving scratch work. · about 35 minutes to read
The problem and its context
From simulating physics to asking what quantum computers can solve
The paper traces the question of quantum computational power to Feynman’s observation about simulation. A straightforward classical simulation of a quantum system appears to incur an overhead that grows exponentially with the size of the system and the time being simulated. That observation raised a question about the simulator itself. If the system under study evolves quantum mechanically, a computer operating under the same rules might carry out that evolution more economically. A general account of such a computer would make it possible to ask which other problems benefit from those rules.
Deutsch gave a general formulation in terms of a quantum Turing machine. As in a classical Turing machine, a configuration specifies things such as the tape contents, the position of the head, and the internal state. A quantum Turing machine can occupy a superposition of configurations, each with a complex amplitude. Its evolution is unitary, so it preserves the lengths and inner products of state vectors. When configurations contribute to the same outcome, their amplitudes can reinforce or cancel one another. Bernstein and Vazirani showed that an efficient universal quantum Turing machine exists. Yao showed that quantum circuits and quantum Turing machines can simulate each other with polynomial overhead. These results gave researchers a way to formulate efficiency claims that could carry across different descriptions of quantum computation.
The paper uses decision problems to discuss that efficiency. A decision problem asks whether an input belongs to a language, the set of strings for which the answer is yes. BPP describes decision problems that a classical probabilistic machine can solve in polynomial time with its probability of error bounded by 1/3 on every input. BQP uses the same error guarantee for a polynomial-time quantum machine. This is a guarantee for each input. A machine that performs extremely well on some inputs still has to meet the bound on every other input to decide the language in the required sense.
An earlier line of work, described through Deutsch and Jozsa and through Berthiaume and Brassard, compared quantum and classical procedures under a certainty requirement. With suitable oracles, a quantum machine could solve certain problems in polynomial time with certainty, while a classical probabilistic machine required exponential time on some inputs to guarantee correctness. The introduction points out that those problems were in BPP relative to the same oracles. Allowing the classical machine a bounded probability of error therefore changed what the comparison established. The distinction matters here because the authors want to know what quantum computation can do against a classical standard that already permits randomness and occasional mistakes.
Bernstein and Vazirani placed BPP inside BQP and BQP inside PSPACE, where the latter class measures polynomial space. The paper uses these inclusions to explain why establishing an unconditional difference between bounded-error quantum and classical polynomial time would bear on the major open question of whether polynomial time equals polynomial space. An oracle offers a way to conduct a more restricted comparison. Both machines receive access to the same source of answers, and the question becomes how well each can use that access. The oracle can be chosen to emphasize a distinction between the ways the machines compute.
The introduction describes Bernstein and Vazirani’s recursive Fourier sampling result as evidence of such a distinction. They gave an oracle relative to which a quantum procedure solved a problem in polynomial time while a classical probabilistic procedure with the time bound they considered could not guarantee small error. The paper also notes an extension of that comparison to Arthur–Merlin games, which it uses to discuss whether adding nondeterminism to probabilistic computation helps account for quantum power. Simon strengthened the evidence from oracle problems by giving a separation that survived even when the probabilistic machine had 2ⁿ⁄² steps. Simon’s work also supplied a technique that became an ingredient of Shor’s algorithms.
Why the ability to check an answer matters
Shor’s algorithms gave a new reason to investigate the reach of quantum computation. Factoring and extracting discrete logarithms were established problems whose presumed difficulty supported important uses in cryptography. Their efficient solution on a quantum computer made it natural to ask how far the advantage could extend. The question Bennett and colleagues pose is whether NP is contained in BQP, which would put efficient quantum solutions to NP-complete problems within reach in principle.
For the problems studied in this paper, the useful way to think about NP is through certificates. Given a yes instance, someone can supply additional information that an efficient verifier can check. A nondeterministic machine can accept when some choice of that information passes the check. A quantum machine can put different choices into superposition and evaluate a check coherently. That resemblance suggests a possible route from quantum computation to nondeterminism. The difficulty is deciding what to read out after the check. Amplitudes attached to successful choices have to influence an observable outcome enough for the machine to recognize the answer reliably.
The oracle setting isolates this difficulty. Imagine that a verifier asks whether a particular candidate maps to the target under a function. With the function treated as a black box, the algorithm can ask for its values, including by querying several addresses coherently. The rule assigning those values remains outside the algorithm. This setup separates the ability to search among candidates from the ability to derive shortcuts by inspecting or analyzing the rule behind the check.
The paper considers both yes certificates alone and certificates for either answer. The class co–NP consists of complements of languages in NP. A decision problem in NP ∩ co–NP therefore admits efficient verification of a suitable certificate on either side. A permutation supplies the structure for such a problem. Every target has a unique preimage, and that preimage can serve as evidence for a property of the inverse even when finding it is the hard part. The distinction lets the authors ask whether the difficulty of quantum black-box search depends on the asymmetry between proving that a witness exists and proving that it does not.
Why a subroutine needs to leave a clean state
The paper’s other question arises from the same emphasis on coherent queries. A classical program can frequently treat a call as an operation that receives an input and produces a usable answer. A quantum computation may call a procedure while the input itself is in superposition. The procedure then produces a corresponding superposition of answers and intermediate records. If those records distinguish alternatives, subsequent computation has to carry them along. In particular, branches that would otherwise contribute to the same configuration may be kept separate by differences on the workspace.
For deterministic computations, the paper points to a reversible construction that runs the procedure, saves its output elsewhere, and reverses the original procedure. That returns the workspace to its initial condition while retaining the answer. A bounded-error quantum computation introduces a complication. For the same input, different components of the final state can carry different answers. Saving the answer in a separate place then changes which components can interfere when the procedure is reversed. The question is whether sufficiently reliable computation can make that disturbance small enough for the cleaned procedure to behave like a coherent oracle call.
The method, step by step
Giving an oracle a reversible interface
The authors start with a Boolean oracle. Its inputs are finite binary strings, and it returns a bit. A quantum Turing machine reserves a tape or track for queries and has distinguished states immediately before and after a call. The nonblank portion of the query tape is kept contiguous. If it is empty, the call leaves the tape as it was. Otherwise the last bit is the answer register and everything before it is the address.
The oracle combines the answer with the bit already in the register. This makes the operation reversible. An instruction that simply replaced the register with the answer would forget its previous contents. Combining by exclusive-or preserves the information needed to recover them.
|x ◦ b⟩ ↦ |x ◦ (b ⊕ A(x))⟩
Here A is the Boolean oracle, x is the address, and b is the current target bit. The vertical bar and angle bracket enclose a basis configuration of the query tape. The arrow denotes its change during the call, ◦ joins the address to the target bit, and ⊕ is exclusive-or. When b is 0 the returned value occupies the target bit. Applying the same call again restores the original bit. The address stays available throughout, and the other tapes and registers are carried through the call.
The rule acts linearly. If the addresses have complex amplitudes and all their target bits start at 0, the call writes the corresponding Boolean answer into each component while preserving its amplitude. The resulting state can tie the value in the answer register to the address. A measurement at this point would select an outcome according to the squared amplitudes. The machine can instead continue its unitary evolution and use the relationship between addresses and answers to change what it will observe later.
A particular target state makes the answer appear as a phase. Depending on the oracle’s bit, the call either leaves the target as it was or exchanges its two basis components. Their opposite signs make that exchange equivalent to multiplication by a negative sign.
β = (|0⟩ − |1⟩) / √2
The symbol β names the target state, and the two enclosed digits label its binary basis states. The subtraction gives the components opposite signs. The square root in the denominator normalizes the state. The oracle leaves an address component unchanged when its answer is 0 and multiplies it by −1 when its answer is 1. The target register itself has the same state β in both cases. For an address in superposition with others, the phase becomes a difference between components that later operations can act on.
The paper also views a Boolean oracle as a length-preserving function on strings. A query includes an address and a position in its output, encoded together as a binary string. The returned bit is the function value at that position. The authors use the same notation for the entire function when the meaning is clear. For a permutation oracle, the function on strings of each fixed length is a bijection. Every output of that length then has a unique input. The call remains the reversible bit operation just described. Having that operation available does not supply access to the inverse permutation as a function.
Seeing what a single query can change
The paper introduces the lower-bound argument with a simpler search problem. The oracle is either empty, returning 0 everywhere, or has a single address that returns 1. The marked address is unknown, but its length n is known. The machine must never report a mark for the empty oracle. The authors compare the chance of successfully detecting a mark when one is present.
A direct quantum version of a random classical query gives each address the same amplitude, queries coherently, and reads the returned answer. The probability of getting a positive result is the weight originally assigned to the marked address. The authors then show how to do better by comparing the presence and absence of a mark through the entire address state. They begin with a uniform superposition.
|ψ₀⟩ = (1 / √(2ⁿ)) ∑ₓ |x⟩
The state |ψ₀⟩ is the starting address superposition. The index x ranges over binary strings of length n, and |x⟩ denotes the basis state for an address. The summation adds those basis states with the same coefficient. The denominator is the square root of the number of addresses, so the squared magnitudes sum to 1.
With the phase-sensitive target, an empty oracle leaves this state unchanged. An oracle marked at y changes the sign of the y component. The authors express the resulting address state as the original state plus a correction in just that direction.
|ψ₁(y)⟩ = |ψ₀⟩ − (2 / √(2ⁿ)) |y⟩
Here |ψ₁(y)⟩ is the state after the phase query to the oracle marked at y, and |y⟩ is the basis state for that address. The correction accounts for reversing the sign of its initial coefficient. The quantities n and |ψ₀⟩ have the same meaning as in the starting state. The target register can be omitted from this expression because it keeps the same state throughout the query.
The measurement tests whether the state lies along the starting vector or outside that direction. The empty oracle always gives the starting vector. For the marked oracle, the probability of detecting the change is the weight outside it.
1 − |⟨ψ₀|ψ₁(y)⟩|² ≈ 4/2ⁿ
The inner product ⟨ψ₀|ψ₁(y)⟩ is the overlap of the initial and marked-oracle states. Its squared absolute value is the probability of observing the initial direction. Subtracting from 1 gives the detection probability. The approximation on the right is the paper’s expression for that probability, with n the address length.
The same example explains why repeating a coherent search can help. After the phase inversion, an operation independent of the oracle converts the phase difference into a larger amplitude at the marked address. Grover’s inversion about the average is the operation the paper uses for this comparison. Alternating it with phase queries increases the distance between the states for the two oracles. For a small number of queries, the authors describe the corresponding growth in detection probability as follows.
4k²/2ⁿ
The symbol k is the number of queries and n is the address length. The expression is the paper’s approximation in the small-k regime. The growth is quadratic in the query count because the distance between the relevant state vectors initially grows approximately linearly and the measurement probability uses squared amplitudes. The example motivates the formal proof. That proof must allow the algorithm to prepare different queries, use additional workspace, and choose any intervening unitary computation permitted by the machine.
Tracking the effect of changing an answer
The proof technique begins with a reference run. At each step, the authors group configurations according to the oracle address currently being queried. A group can contain many configurations because the workspace, the target bit, and other details may differ even when the address agrees. The sum of the squared amplitudes in a group is its query magnitude. It describes how much of the state is exposed to a change at that address on that step. It is computed from the state before the query, whether or not the algorithm ever measures the query tape.
qᵧ(|φᵢ⟩)
Here qᵧ is the query magnitude assigned to string y, i labels a timestep, and |φᵢ⟩ is the reference state of the machine at that time. The argument is a full machine state, including all its configurations. The function selects the configurations that are asking about y and adds their squared amplitude magnitudes.
The authors then compare the reference run with a run in which some answers have been changed. The changes are specified by pairs of a time and a query string. A replacement may be used on one step and withdrawn on the next. Allowing such time-dependent changes is important for the permutation proof. Each step still acts reversibly on the query register, so the comparison can use unitary evolution even when the sequence of replies would be impossible for a single fixed oracle.
|Eᵢ⟩ = Uᵢ|φᵢ⟩ − U|φᵢ⟩
The vector |Eᵢ⟩ is the immediate difference at step i. The operator U is the step with the reference answers, and Uᵢ is the corresponding step with the prescribed replacements at that time. Both operators act on the same reference state |φᵢ⟩. Evaluating the difference that way allows the proof to use query magnitudes from a single reference history.
The final difference can be expressed as a sum of these immediate differences, each carried forward through the subsequent evolution. Unitary evolution preserves the length of each carried-forward vector. The different contributions can reinforce each other, so an upper bound must allow for constructive interference. The paper bounds the final distance using the total query magnitude on changed time and address pairs and the number of steps over which the contributions can add. This argument is frequently called a hybrid argument because it relates two complete computations through the effects of substituting individual operations.
One consequence is particularly convenient for changing a single address in a fixed oracle.
|S| ≤ 2T²/ε²
Here S is the exceptional set of strings in the paper’s corollary, |S| is its cardinality, T is the running time under consideration, and ε is the allowed Euclidean distance between final states. The corollary bounds the size of the set on which the comparison may fail to meet that tolerance. Changing an answer at an address outside S leaves the final states within ε. The reason a small exceptional set exists is that at any given step the machine has only its normalized state to distribute over addresses. Repeated concentration at some addresses consumes part of the same total budget.
A final-state distance matters because the answer is ultimately observed. The paper invokes a result of Bernstein and Vazirani to connect the Euclidean distance between unit states to the distance between the resulting measurement distributions.
4ε
The expression is the paper’s upper bound on total variation distance under its convention when the state vectors are within ε in Euclidean distance. Here total variation is expressed as a sum of absolute differences between the probabilities of corresponding outcomes. Acceptance is an event in such a distribution, so the bound also controls how much the probability of acceptance can change. That connection turns an argument about the machine’s amplitudes into an argument about its ability to answer the decision problem.
Turning query magnitude into a random-function lower bound
The authors take a length-preserving random function. They define a language whose members are exactly the strings that appear somewhere among its outputs. A certificate for membership is an input of the same length that maps to the target. The verifier can use the oracle to check the output. The quantum machine must decide whether such an input exists in the first place.
Lᴬ = {y : ∃x A(x) = y}
The superscript A records the dependence of the language Lᴬ on the function A. The braces enclose the set of targets y with the stated property. The symbol ∃ says that there is some input x, and the equality requires its function value to be y. Length preservation means that a witness for a target has the target’s length.
For a fixed input length n, the tested target is the string of all ones, written 1ⁿ. The authors hold every part of the oracle at other input lengths fixed. They then distinguish functions for which this target has no preimage from functions for which it has a unique preimage. Functions in the first group can be changed into functions in the second group by replacing just one output at length n. The same target now needs the opposite decision, although most oracle replies are unchanged.
For each reference function with no preimage, the exceptional-set corollary identifies the relatively few addresses whose alteration can make the final state move substantially. At a large enough length, many addresses remain available for the change. If the machine correctly rejects the target for the reference function, its acceptance probability under most of the corresponding altered functions is too close to meet the acceptance requirement. The check is quantitative. The difference required for reliable opposite answers is compared with the upper bound obtained from the distance between states.
The authors count how many such changes lead to failures. A reference function can be changed at many addresses. An altered function with a unique preimage can be traced back to a reference function only by replacing the value at that particular preimage. The original value could have been any of the other outputs of that length, giving a bound on how many reference functions lead to the same altered one. This counting step is needed because several reference runs can implicate the same altered function. The proof combines failures on functions with no preimage and failures forced among functions with a unique preimage.
The resulting lower bound on failure holds at sufficiently large lengths for any fixed choices at the other lengths. This lets the authors pass from a single test to the probability of deciding the entire language correctly. A fixed machine has to meet the bounded-error requirement at every tested length. The uniform chance of failure across arbitrarily many lengths makes the probability of doing so zero under the random-oracle choice. A countable collection of candidate machines can then be covered by the same almost-sure conclusion. Fixing a particular running-time bound precedes this argument, so each computation tested against the oracle has the corresponding finite time budget.
Keeping the comparison inside the permutations
For a permutation, asking whether a target has a preimage yields a yes answer for every target. The authors instead ask whether the first bit of the unique preimage is 1. The preimage itself is a certificate on either side. It can be checked by evaluating the forward permutation and inspecting the claimed bit.
Lᴬ = {y : first bit of A⁻¹(y) is 1}
Here A is a length-preserving permutation, A⁻¹ is its inverse, and Lᴬ is the set of targets y whose inverse has the stated first bit. The decision test in the proof uses a target of positive length. A certificate contains the entire inverse value even though the requested output of the decision procedure is only its first bit.
Changing a single entry of a permutation generally breaks the bijection. The authors therefore swap values at pairs of addresses. Their comparison uses a sequence of randomly sampled strings of length n. They start with a uniformly chosen permutation subject to mapping the first sampled string to the target. At each update, a swap moves the target from the previous sampled address to the next. Each permutation in the resulting sequence has a uniform marginal distribution. The permutations are coupled, which means that they are constructed together and that successive ones share most of their entries.
The following diagram follows the permutation proof, where the timing of a change is central to the argument.
How the permutation proof compares quantum computations
The steps in order.
The order of construction gives the authors a way to avoid assuming what they want to prove. In a computation against a fixed permutation, the location of the hidden preimage already affects all previous queries. It would be circular to treat that location as independent of the current state simply because it came from a random permutation. The proof therefore runs a comparison in which oracle updates are introduced over time. A sampled address that has yet to influence the state can be treated as fresh for the next query whose magnitude is being bounded.
For each step, the two fixed-oracle histories can differ from the time-dependent comparison at addresses touched by swaps still to be accounted for. The paper collects the relevant time and address pairs. Conditional on the current query state, a fresh uniformly sampled address has expected query magnitude at most 1/2ⁿ. This follows from the fact that the squared query amplitudes assigned to all length-n addresses together are at most 1. Giving the algorithm the ability to query in superposition changes how that mass is distributed. Its average over a fresh address still obeys the same constraint.
The accumulated expected query magnitude grows with the set of possible future changes over the running time. Comparing complete states also introduces the time factor from the hybrid estimate. The paper bounds the expected distance from each fixed-oracle run to the shared comparison run, then uses the triangle inequality to compare the two fixed runs directly. A small expected distance implies that the distance is small with substantial probability over the construction. On the other hand, the first bits of the preimage in the two adjacent permutations differ with probability 1/2. The authors use these two facts together to show that at least one of the machines must fail often enough. Since either fixed permutation is uniformly distributed, this gives a failure bound for a uniformly chosen permutation.
Boosting and then reversing a decision procedure
The paper’s construction for subroutine calls starts with a decision procedure that has a bounded probability of giving the wrong answer. The authors first increase its reliability. They lay out separate copies of a classical input on the tape, with spacing sufficient for one run’s work to remain separate from the next run’s work. The machine applies the given computation to each copy. A reversible majority calculation collects the answer bits and writes the majority in a designated cell. The repetitions remain coherent, and the majority can be computed without observing the individual results.
The justification is easiest to see for one fixed input. A single run produces a superposition with a set of configurations carrying the correct answer. When the machine computes on separate copies, the joint amplitudes are products of the component amplitudes of the separate runs. The squared magnitudes therefore give the same majority statistics as independent trials with the original per-run success guarantee. This accounts for the probability calculation without requiring the computation to select a classical outcome between repetitions.
k = b log 1/ε
Here k is the repetition count in the paper’s scaling expression, b is a constant chosen to obtain the required reliability, log denotes a logarithm, and ε is the desired error tolerance for the boosted procedure. Each trial starts with success probability at least 2/3. With enough repetitions according to this scaling, the majority is correct with probability at least 1 − ε. The result applies separately to each input.
The authors also show how to carry this procedure out on a quantum Turing machine. Time-constructibility of the bound makes the allotted running time available to the construction. The machine computes that allotment, prepares the copies with blank space between them, and carries counters on work tracks so it can advance from one copy to the next. It subsequently returns to the start cell and writes the majority result. The prior programming machinery the paper invokes supplies reversible deterministic calculations, track manipulation, sequential composition, and controlled iteration. These details ensure that each stage can be composed with the next while respecting the machine’s halting and tape conventions.
The reliability guarantee alone leaves the repeated computations, counters, and majority workspace on the tape. The cleanup construction runs the boosted procedure, copies the answer to a separate track, and reverses the boosted procedure on the tracks it originally used. The separate track is carried through the reversal. If the recorded bit were the correct answer in every configuration, the backward computation would return those original tracks exactly to their starting state.
The authors compare the real state after the copy with an ideal state that has the correct bit written on every branch. Both share the same computation state on the original tracks. Their difference comes from the branches where the answer copied by the real procedure is wrong. In the inner product between the states, a correct branch contributes its squared amplitude, and an incorrect branch has orthogonal output bits. The overlap is therefore at least the success probability of the boosted procedure. The subsequent reversal is unitary and preserves that overlap. In the ideal comparison, reversal yields the clean configuration, so the overlap after reversal bounds the weight the real calculation assigns to that configuration.
(1 − ε/2)² ≥ 1 − ε
In this bound ε is the desired tolerance for the final clean output. The machine before copying is boosted to success probability at least 1 − ε/2. The square converts the guaranteed overlap with the ideal cleaned configuration into a lower bound on the probability of that configuration. The resulting guarantee concerns the input, correct output bit, and cleaned workspace together.
For a time bound T(n) greater than n and time-constructible, the paper bounds the new running time by cT(n). The variable n is the input length, T(n) is the original time allowance, and c depends polynomially on log 1/ε and is independent of n. This isolates the price of higher reliability from the dependence of the original algorithm on input size. In the class-level result, the outer computation can call the cleaned decision procedure coherently and choose its accuracy so that the cumulative error stays within the outer computation’s bounded-error allowance. The final equality is the closure statement.
BQPᴮQᴾ = BQP
The left side describes bounded-error quantum polynomial time with access to decision oracles from BQP. The right side describes ordinary bounded-error quantum polynomial time. The equality says that replacing such oracle calls with computations implementing them preserves the class. The copy and reverse steps supply the quantum interface that makes the replacement possible.
Experiments and results
What the comparisons measure
The paper’s results come from mathematical comparisons and proofs. Its test instances are strings, and its probability spaces are the choices of oracle and the outcomes of the quantum computation. These probabilities have different roles. An acceptance probability describes how a fixed machine behaves on an input with a particular oracle. A probability over oracles describes how frequently a machine with a stated time bound fails to meet that acceptance requirement when the black box is chosen at random. The paper’s probability 1 conclusions concern the second kind of probability.
There is no training, tuning, or held-out split. For the single-mark illustration, the relevant setting is an oracle with either no marked address or one uniformly unknown marked address of length n. For the random-function theorem, the relevant challenge is deciding whether 1ⁿ is in the range of the function, with the function entries at other lengths held fixed for the local argument. For the random-permutation theorem, the challenge is deciding the first bit of the inverse of 1ⁿ, again reasoning about a single length before extending the result to the whole oracle.
The time metric is the number of machine steps allowed on each input, with a call to the oracle charged unit cost. The search illustration also reports success as a function of the query count. An algorithm limited in total time is limited in how many queries it can make. A lower-bound proof still has to allow the machine to use steps between queries to rearrange its state or convert phase differences into information about the answer. In the decision results, a correct algorithm must accept a yes input with probability at least 2/3 and reject a no input with probability at least 2/3. The time allowance applies to individual inputs. The authors do not infer a worst-case guarantee from mean running time.
How much the phase query buys on its own
A classical machine that queries distinct addresses has probability 1/2ⁿ of finding a uniformly placed mark on its first query. With k distinct queries, the paper gives success probability k/2ⁿ. The analogous quantum procedure that reads the answer after querying an equal superposition also has success probability 1/2ⁿ with one query. An equal spread over the addresses gives the unique marked branch just that much measurement weight. The phase-based test uses the same query allowance and distinguishes the resulting state from the starting state, yielding the paper’s approximation 4/2ⁿ.
The chart compares the coefficients of the common factor 1/2ⁿ. For the phase-query test, the coefficient describes the approximation. Both settings use the same address space and the same condition of a uniformly unknown single mark. The empty oracle must still be rejected with certainty.
Single-mark oracle detection after one query, success probability coefficient
Testing the phase change gives the larger leading coefficient.
The numbers
| System or setting | coefficient of 1/2ⁿ in success probability |
|---|---|
| Classical query or direct quantum readout | 1 |
| Quantum phase query and overlap test (this paper) | 4 |
The comparison explains both the opportunity and the difficulty. The phase test improves the chance of detection while that chance remains very small for large n. An algorithm gets a large benefit by accumulating changes over many steps, keeping them coherent and directing them towards a detectable outcome. In the repeated-query discussion, the paper gives the approximate 4k²/2ⁿ success probability for small k. The classical comparison adds the chances of distinct queries finding the target. The quantum comparison instead gains from successive changes to amplitudes.
Random functions and the matching search bound
The random-function result says that for any specified T(n) in o(2ⁿ⁄²), with probability 1 over the choice of a uniformly random length-preserving oracle, bounded-error quantum machines with that runtime do not contain all of NP relative to the oracle. Here o(2ⁿ⁄²) designates time growth asymptotically smaller than 2ⁿ⁄². The hard language used in the proof is the range of the function. Its simple verification procedure checks a claimed preimage, while deciding membership requires telling whether a preimage exists.
For a sufficiently large input length n, the proof uses the threshold T(n) ≤ 2ⁿ⁄²/20. The denominator 20 is part of the proof’s choice of a length at which the asymptotic assumption makes the machine slow enough in relation to the size of the search space. At the chosen length, the paper gives probability at least 1/4 that the target 1ⁿ has no inverse image and reports a bound of 1/e for the unique-preimage case. The failure count uses the mass of the no-preimage cases. Here e is the base of natural logarithms, appearing in the paper’s probability estimate. The test is confined to fixed n at this stage, even though the oracle is defined at every length.
The authors choose final-state tolerance 1/13 for the neighboring-oracle comparison. Their exceptional-set bound then gives at most 338T²(n) strings where the single change may have a greater effect. The acceptance-probability difference for the other changes is bounded above by 4 × 1/13, which is below the 1/3 gap required for the two answers to be reliably opposite. Since altering a nonexceptional address changes the correct answer while keeping acceptance probabilities too close, the machine can satisfy the requirement for at most one side of such a comparison. Counting the resulting failures gives probability at least 1/8 that the machine fails its required correctness condition on 1ⁿ over the random length-n function. That is distinct from the probability of seeing an incorrect bit on a single execution.
The classical baseline reported by the paper is an o(2ⁿ) lower bound for recognizing the same range language relative to a random oracle. Its quantum counterpart is the O(2ⁿ⁄²) search algorithm supplied by Grover’s work. Here O denotes an asymptotic upper bound on the growth of the running time. The paper presents the match between its quantum lower bound and Grover’s upper bound as the reason the exponent 1/2 in the general random-function result is tight. The advantage is measured against time for unstructured search under oracle access. For the language used in the proof, the same preimage is the witness a verifier would check once it had been found.
Random permutations and the decision cost of one inverse bit
For a uniformly random permutation oracle the paper proves an almost-sure lower bound against time o(2ⁿ⁄³) for containing NP ∩ co–NP relative to the oracle. The decision language asks for the first bit of the unique preimage. This setup gives an efficient verifier on either side. Knowing the answer’s certificate, however, would amount to knowing the full input that produces the target.
The proof selects n large enough that T(n) ≤ 2ⁿ⁄³/100. The denominator 100 belongs to this proof’s time threshold. Its comparison uses two adjacent fixed permutations and a time-dependent run built from the shared sequence of swaps. It bounds the expected Euclidean distance between the final states of the fixed-oracle runs by 1/50. The expectation is over the random choices used to construct the permutations. The intermediate expected distances from each fixed run to the time-dependent comparison run are bounded by 1/100. These are distances in the quantum state space before the answer is read.
The Markov bound used in the paper gives probability at least 3/4 that the distance between the fixed-oracle final states is at most 2/25. In that case the difference in acceptance probabilities is at most 8/25, which is below 1/3. The correct decisions differ with probability exactly 1/2 because the two corresponding preimage bits come from independently sampled addresses. The paper combines these events to obtain probability at least 1/4 that one or both fixed-oracle computations fail the bounded-error requirement. Both fixed oracles have the same marginal distribution. The resulting lower bound on failure probability for a uniformly chosen permutation at the selected input is 1/8.
Relative to a random permutation oracle, the result also yields a one-way permutation with probability 1. In the forward direction, the oracle supplies the output bits, so even a classical deterministic machine can compute the permutation efficiently with that access. An efficient inverse computation would give an efficient decision about the first bit of the inverse, contradicting the bound for the hard language. The theorem reaches a property of the inverse that requires less output than full inversion. The paper consequently obtains exponential inverse-time hardness in its oracle setting without first proving that a machine must recover the entire preimage to learn anything about it.
Reliability and the clean-output guarantee
The subroutine results use a different metric from the search proofs. The starting decision guarantee is 2/3 success on every input. Coherent repetition and majority increase this to at least 1 − ε at the requested tolerance. The corresponding time is bounded by cT(n), with the factor c polynomial in log 1/ε. The authors contrast the usual analysis of independent trials with the additional implementation work required to keep the repetitions and the majority calculation reversible.
For the tidying result, the metric is the squared magnitude of the exact final configuration containing the original input and the correct answer, with the temporary work removed. The paper obtains a bound of at least 1 − ε on that weight by starting the copy-and-reverse stage with the stronger guarantee of 1 − ε/2. The earlier reversal machinery cited by the authors has a slowdown factor of 5 for reversing a normal-form machine that halts on all inputs. This is a bound for the reversal operation. The factor c in the full result also accounts for preparing and running the repetitions and extracting their majority.
These results answer different questions about the same overall computational framework. The search theorems bound the information an algorithm can make observable from limited black-box access. The tidying theorems bound the disturbance created when a useful calculation is inserted into a larger coherent one. In the search setting the relevant distance must become large enough for reliable discrimination. In the subroutine setting the authors arrange for the distance from the desired behavior to remain small enough for the computation to be reused.
What the ablations show
The paper reports no empirical ablations. Its controlled comparisons come from calculations in which the authors change the oracle, the query procedure, or the way a subroutine’s output is retained. Each comparison isolates an aspect of the proof that can be understood separately from the final class-level result.
The single-query illustration holds fixed the address space and the number of queries. A classical query and a quantum query whose answer is immediately read have the same success probability. The phase-sensitive call improves the result when the final measurement checks for departure from the starting state. This identifies where the improvement comes from. The quantum machine uses the relative phase between the marked address and the rest of the state. Merely placing all the addresses in superposition gives the unique successful branch a small weight. The comparison with repeated phase queries then explains how later operations can make that initially small difference grow.
The random-function proof controls the change more tightly. It keeps the machine, input, time limit, and all but a single function entry fixed. That entry can decide whether the tested string belongs to the language. For a machine that spreads its attention over many possible queries, changing a low-magnitude address leaves the observed result almost unchanged. The key quantity is attention accumulated across the computation, since an address receiving little weight early can still be queried intensively later. The proof permits that behavior and counts how many addresses can be exceptions. In this way the comparison addresses an adaptive quantum computation as a whole, including the possibility that early replies help direct later queries.
The permutation comparison shows why the same reasoning needs a different construction when the oracle is required to be a bijection. A change has to move the target’s old preimage as well as supply its new one. The immediately relevant address in a fixed permutation is tied to the information the machine may already have acquired. By introducing a comparison state that has seen only the swaps up to the applicable time, the authors can estimate query magnitudes on fresh addresses. Comparing each fixed run to that shared state makes it possible to compare the two fixed runs. The first-bit answer then supplies a measurable difference in the problem instances while the final states remain close with the probability required for the proof.
The subroutine analysis controls a different alteration. It compares the state obtained by actually copying the computed bit with an ideal state in which the copied bit is correct throughout. The workspace amplitudes match before reversal. Only the portions carrying an erroneous copy reduce the overlap. Because reversal preserves the overlap, reliability before the copy translates directly into weight on the cleaned configuration afterward. This explains the order of the construction. Repetition addresses uncertainty in the answer, copying retains the bit that the outer computation needs, and reversal restores the workspace with the stated high weight. The test of a tidy subroutine is the joint configuration, so a high chance of reading the right bit while leaving considerable branch-dependent scratch information would address a different guarantee.
Limitations
Limits the authors state
The authors explicitly leave open whether NP is contained in BQP in ordinary computation. Their lower bounds apply when the relevant verification information comes from an oracle, and their examples choose the oracle from particular random distributions. This isolates strategies whose access to the underlying function consists of queries. A particular problem may present relationships in a form that an algorithm can analyze directly. The paper’s general search bound describes the limit of treating the check as a black box, while the efficient algorithms that motivate the question illustrate why the form of a problem’s structure matters.
The authors also distinguish the status of the two exponents. Grover’s upper bound supplies the match for the random-function result at 1/2. For a random permutation, the authors say that their proof at 1/3 gives no evidence that this exponent is fundamental. They raise the possibility that a stronger argument could reach 1/2. The permutation proof uses a sequence of evolving comparison oracles to make the query magnitude estimates possible. The growth of the set of potentially different queries across time enters the bound produced by that method. The theorem supports the stated exponent, while the optimal exponent for this setting remains open in the paper.
The scope of the oracle interface is also explicit. The paper describes how arbitrary unitary transformations could be used as oracles and discusses possible restrictions on their action, including finite support on individual basis states and reversibility by another application of the same call. Its main results use the Boolean oracle interface, with functions and permutations represented through their output bits. The broader discussion explains what a more general oracle could look like. The proved bounds concern the interfaces actually used in the search and inversion arguments.
Limits that follow from the setup
A probability 1 result over random oracles has a specific meaning. The authors rule out the faster machine on nearly every oracle drawn from the specified distribution. The argument uses a distribution on all lengths and a failure estimate for a fixed machine that survives arbitrary choices at the other lengths. It is a statement about correctness as a decider for the whole oracle-dependent language. The proof’s test at 1ⁿ is sufficient to expose failure of that guarantee. It does not give an instance-by-instance account of how a quantum machine performs on every string of a chosen length.
The lower bounds concern running time with a unit-cost query convention. The convention makes it possible to isolate the cost of acquiring and combining information under black-box access. It leaves the cost of implementing a particular oracle outside the search comparison. Consequently the forward efficiency of the one-way permutation is relative to the availability of that oracle. The theorem supplies an oracle-dependent example of a forward and inverse asymmetry, rather than a specific permutation offered for use without the oracle.
The two language tests also constrain what can be said about their relation. The random-function problem tests existence of a preimage. In the permutation problem existence follows from the promise of bijectivity, and the task is to learn a property of the unique inverse. Their exponents refer to different oracle distributions, different questions, and different proof arguments. A comparison of the exponents shows what the paper establishes in each setup. It does not on its own rank the two problems under a shared access promise or measure the best achievable permutation algorithm.
Finally, the subroutine construction gives approximate cleaning at a tunable tolerance for a decision computation. Its per-input guarantee places almost all the squared magnitude on the configuration with the input and correct answer, and the complexity-class conclusion uses the ability to reduce the remaining error. The time bound assumes a time-constructible allowance greater than the input length and uses the quantum Turing machine conventions underlying the cited composition and reversal machinery. The guarantee concerns a single-bit language decision and the stated polynomial overhead. An exact cleanup guarantee, or a guarantee for a procedure that is meant to output an arbitrary quantum state, would require a different claim.
What came after
Quantum algorithms: A survey of applications and end-to-end complexities (2023) cites Bennett and colleagues in a survey organized around applications and the complexity of complete quantum algorithms. The earlier paper gives a concrete distinction that matters for that subject. An oracle analysis can establish a sharp cost for obtaining information under a particular access rule, while an end-to-end account has to specify the computation within which that access occurs. In the random-function result, the price being measured is time with the oracle available at unit cost. In the subroutine result, the authors open up a call and analyze what it takes to implement it coherently. The citation connects the survey to those questions of access and composition. The survey’s title establishes its broader scope, while the particular use it makes of the individual proofs is unspecified.
Cite
Cite as Charles H. Bennett, Ethan Bernstein, Gilles Brassard A and Umesh V. Vazirani. 1997. Strengths and Weaknesses of Quantum Computing. SIAM Journal on Computing.
@article{bennett1997strengths,
title = {{Strengths and Weaknesses of Quantum Computing}},
author = {Charles H. Bennett, Ethan Bernstein, Gilles Brassard A and Umesh V. Vazirani},
journal = {SIAM Journal on Computing},
year = {1997},
doi = {10.1137/s0097539796300933},
eprint = {quant-ph/9701001},
archivePrefix = {arXiv},
url = {https://doi.org/10.1137/s0097539796300933}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bennett-1997-strengths-weaknesses-quantum-computing/