Dequantization and matched data access
The construction of classical algorithms that reproduce selected quantum algorithm benefits under comparable structured input assumptions.
On this page
Definition, purpose and input assumptions
Dequantization examines whether a claimed quantum advantage depends on granting the quantum algorithm a stronger data-access interface. Some quantum-inspired classical methods use sampling and query access to obtain similar outputs without processing every matrix entry. This does not show that all quantum algorithms are classically efficient; it narrows particular comparisons.
Mathematical mechanism
A common access model allows querying entries and sampling an index with probability proportional to squared magnitude. For a vector x, this distribution is |x_j|^2/||x||^2. Maintaining a suitable classical data structure can support such operations, but building and updating it has a cost that should be matched to quantum state preparation or memory loading.
Fully solved reference example
For x=(3,4), squared-norm sampling returns index 0 with probability 9/25 and index 1 with probability 16/25. These are exactly the computational-basis probabilities of amplitude state(3|0>+4|1>)/5. Therefore a task that only asks for samples from those two probabilities does not gain an advantage merely because the quantum representation uses amplitudes.
A phase-sensitive task is different: x=(3,-4) has the same squared-norm samples but a different coherent X expectation. Matching one access primitive does not automatically simulate all interference-based processing.
Limitations and classical comparison
Tang's recommendation-system result is a specific important example, with low-rank and sampling-access assumptions. It should not be generalized to a proof that quantum machine learning never helps. Conversely, a new quantum speedup claim should compare against relevant sampling-based classical methods at matched output accuracy.
Scientific relationships
Dequantization is a classical comparison framework for quantum data-loading assumptions and linear-algebra algorithms. It is distinct from general classical simulation of arbitrary quantum circuits.
An inner-product estimator under matched access
Let x = (1, 2, -2) and y = (2, -1, 3). Squared-norm sampling from x chooses indices with probabilities (1/9, 4/9, 4/9). Suppose entry queries also reveal the signed values x_j and y_j, and the norm squared ||x|| squared = 9 is known. On sampled index j, return Z_j = 9 y_j/x_j. The three possible estimator values are 18, -9/2, and -27/2.
Their weighted mean is 2 - 2 - 6 = -6, exactly x transpose y. The second moment is 36 + 9 + 81 = 126, so the single-sample variance is 126 - 36 = 90. Averaging M independent samples gives variance 90/M. For the normalized inner product, divide by ||x|| ||y|| = 3 sqrt(14), yielding mean -2/sqrt(14) and variance 5/(7M). At M = 1000, the predicted standard deviation is approximately 0.02673. These are exact properties of the displayed sampling estimator, not a measured recommendation-system benchmark.
The same construction works for complex vectors using Z_j = ||x|| squared y_j/x_j on the support of x. Because |x_j| squared/x_j equals x_j conjugate, the expectation is x dagger y. If x_j is zero, it is never sampled and contributes zero to the inner product. The ratio need not be evaluated there. This support rule avoids an artificial division-by-zero failure in an otherwise valid estimator.
Variance and access are both part of the comparison
When all relevant entries of x are nonzero, the second moment is ||x|| squared ||y|| squared, so the variance is that quantity minus |x dagger y| squared for a complex mean-square error interpretation. A nearly orthogonal pair can therefore have modest additive error but poor relative error when estimating a small inner product. Dimension-independent sample formulas do not imply independence from norm scales or the requested relative accuracy.
In this three-entry example an exact classical dot product uses only three multiplications and two additions, making sampling unnecessary. A different importance distribution proportional to |x_j y_j| would assign probabilities (1/5, 1/5, 3/5). The corresponding signed estimator takes values plus or minus ten, has mean minus six, and variance 64, smaller than 90. Constructing those weights requires access to both vectors and additional preprocessing. A lower-variance estimator is useful only after including the cost of obtaining its sampling distribution.
An explicit data-structure accounting example
A binary norm tree for x stores leaf weights 1, 4, 4 and internal partial sums. One possible root split separates the first two leaves, total five, from the last leaf, total four. Choosing the first subtree with probability 5/9 and then its first leaf with probability 1/5 gives overall probability 1/9. Choosing its second leaf instead gives 4/9. The final leaf also has probability 4/9, reproducing the required distribution.
Updating the middle entry from two to three changes its leaf weight from four to nine, the first subtree sum from five to ten, and the total from nine to fourteen. A balanced tree updates the affected ancestors in logarithmic depth after the new value is known. Building all leaves from an arbitrary explicit vector still reads the vector. The analogous quantum preparation claim must state whether its memory structure is already built, how updates are charged, and whether coherent access is available. Giving one method prepaid data access and charging another for every load distorts the comparison.
What sample access does not reproduce
Squared-norm samples discard signs and phases. The vectors x and (1, 2, 2) have the same sampled index distribution but different inner products with y. The estimator above distinguishes them only because entry queries supply the missing sign. Likewise, reproducing computational-basis samples from an amplitude state does not automatically reproduce an arbitrary phase-sensitive quantum computation on that state.
Dequantization results identify particular tasks and access models under which classical algorithms recover performance previously attributed to quantum state representations. Their resource dependencies can include rank, condition numbers, approximation tolerance, and success probability. Those parameters may dominate even when dependence on matrix dimensions is logarithmic. A theorem for a low-rank recommendation model does not establish that every quantum linear-algebra algorithm has an equally efficient classical simulation.
Sources
Verification scope
Recorded source check ·
Sampling access, low-rank assumptions, and data-structure scope inspected.
PDF textual date May 10 is separate from arXiv revision May 9. No general simulation of quantum linear algebra or measured speedup is inferred.
Verification scope
Selected source text checked ·
Formal or reference-semantic source anchor only; no SDK execution, hardware run, or empirical advantage is asserted. Original worked examples are independent mathematical constructions.