Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Rejection Sampling (QRS)

Updated 5 July 2026
  • Quantum rejection sampling is a family of quantum procedures that coherently extend classical rejection sampling to transform source superpositions into target states.
  • It leverages amplitude amplification to achieve a quadratic speedup, making it effective in applications such as Bayesian inference, lattice sampling, and spectral certification.
  • Variants of QRS adapt acceptance mechanisms via different oracle models and complexity measures, ensuring practical integration into diverse quantum algorithms.

Searching arXiv for Quantum Rejection Sampling and closely related recent work. Searching arXiv for the foundational 2011 QRS paper and recent applications in sampling, state preparation, and certification. Quantum rejection sampling (QRS) denotes a family of quantum procedures that realize the logic of classical rejection sampling in coherent form. In its foundational formulation, the task is not merely to draw classical samples from a target distribution, but to transform a source superposition

πξ=k=1nπkξkk\lvert \pi^\xi\rangle=\sum_{k=1}^n \pi_k \lvert \xi_k\rangle \lvert k\rangle

into

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,

where the amplitudes π,σ\pi,\sigma are known, while the attached states ξk\lvert \xi_k\rangle are normalized but unknown (Ozols et al., 2011). Subsequent literature has used the same name, or closely related descriptions, for several technically distinct primitives: amplitude-amplified conditional sampling on Bayesian networks (Low et al., 2014), specialized spectral-distribution sampling via block-encoded acceptance tests (Wang et al., 2023), explicit state-preparation and block-encoding frameworks based on reference majorants (Lemieux et al., 2024), and lattice discrete Gaussian sampling with coherent proposal-to-target conversion (Chevignard et al., 19 May 2026). The term therefore refers less to a single circuit template than to a recurring quantum principle: implement an accept/reject reweighting coherently and exploit amplitude amplification or related amplification methods to obtain a quadratic improvement in the relevant acceptance parameter.

1. Foundational formulation and oracle model

The canonical formulation of QRS was introduced as a coherent analogue of classical rejection sampling in the state-generation problem QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma} (Ozols et al., 2011). The input is a preparation oracle OO satisfying

O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,

with access to both OO and OO^\dagger, and the objective is to prepare the target state σξ\lvert \sigma^\xi\rangle without learning or disturbing the hidden states σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,0. This setting is strictly more general than ordinary classical sampling, because the algorithm must preserve unknown side information coherently.

The paper formalizes success through an overlap criterion. For a general state-generation problem, the output state is required to have the form

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,1

with σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,2 (Ozols et al., 2011). Exact generation corresponds to σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,3, while σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,4 yields an approximate formulation. This distinguishes QRS from frameworks that define correctness solely by classical total variation distance after measurement.

The structural parameter controlling the query complexity is the “water-filling” profile

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,5

from which the paper defines the optimal filtered vector σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,6 (Ozols et al., 2011). The main theorem states

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,7

At σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,8, this reduces to

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,9

provided the target support lies within the source support (Ozols et al., 2011). This is the amplitude analogue of the classical rejection-sampling ratio bound.

The same work also defines a stronger state-conversion variant π,σ\pi,\sigma0, where one is given a reflection oracle through the source state,

π,σ\pi,\sigma1

and only amplitude ratios via π,σ\pi,\sigma2 (Ozols et al., 2011). This establishes QRS as a reusable abstraction for coherent amplitude reweighting rather than a single application-specific algorithm.

2. Core mechanism and its relation to classical rejection sampling

The basic QRS construction closely parallels classical rejection sampling, but the accept/reject test is executed coherently. Starting from

π,σ\pi,\sigma3

one applies, controlled on π,σ\pi,\sigma4, a one-qubit rotation π,σ\pi,\sigma5 whose sine is π,σ\pi,\sigma6, yielding

π,σ\pi,\sigma7

(Ozols et al., 2011). If the ancilla were measured immediately, the accept probability would be

π,σ\pi,\sigma8

and the postselected accept branch would have overlap

π,σ\pi,\sigma9

with the desired target (Ozols et al., 2011).

The quantum speedup arises because the procedure does not repeatedly measure and restart. Instead it defines reflections about the accept branch and about ξk\lvert \xi_k\rangle0, then applies amplitude amplification. Choosing ξk\lvert \xi_k\rangle1 for a constant ξk\lvert \xi_k\rangle2, the target can be reached in

ξk\lvert \xi_k\rangle3

iterations (Ozols et al., 2011). This is the direct quantum counterpart of replacing classical repetition by coherent rotation in a two-dimensional invariant subspace.

A related but application-specific formulation appears in Bayesian-network inference. There, the full joint distribution is encoded as the q-sample

ξk\lvert \xi_k\rangle4

which decomposes into evidence-consistent and evidence-inconsistent sectors with amplitude ξk\lvert \xi_k\rangle5 on the desired evidence pattern (Low et al., 2014). Amplitude amplification with the Grover iterate

ξk\lvert \xi_k\rangle6

reduces the dependence on the evidence probability from ξk\lvert \xi_k\rangle7 classically to ξk\lvert \xi_k\rangle8 quantumly, giving per-sample complexity

ξk\lvert \xi_k\rangle9

for a Bayesian network with QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}0 nodes and maximum indegree QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}1 (Low et al., 2014). Although that paper presents the method as “quantum rejection sampling,” its operational content is again amplitude amplification of a coherently marked accept sector.

This suggests a common invariant across the literature: QRS is best viewed as coherent accept-branch engineering plus amplification, while the exact representation of the branch—coin qubit, evidence register, block-encoding ancilla, or selective-phase subspace—varies by application.

3. Variants of the QRS paradigm

The subsequent literature does not maintain a single canonical formalism. One line keeps the original state-conversion viewpoint, while others specialize the idea to different access models.

In quantum state preparation and matrix block-encoding, QRS is formulated through a reference majorant. For a target state

QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}2

and reference

QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}3

the algorithm introduces a sampling register of dimension QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}4, coherently flags whether QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}5, and uses amplitude amplification to project onto the accepted branch (Lemieux et al., 2024). The number of amplification rounds is

QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}6

so the usefulness of the method depends explicitly on constructing an efficiently preparable reference QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}7 with small QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}8 (Lemieux et al., 2024). The same logic is lifted entrywise to matrices by introducing a reference matrix QSAMPLINGπσ\mathrm{QSAMPLING}_{\pi\to\sigma}9 satisfying OO0, yielding block-encodings of OO1 from coherent acceptance tests on matrix entries (Lemieux et al., 2024).

A different variant appears in ground-state energy certification, where rejection sampling is not used to transform one known coherent distribution into another, but to sample from spectral-measure-induced continuous densities of the form

OO2

(Wang et al., 2023). A classical computer first samples OO3, and a quantum computer accepts OO4 by implementing a block-encoding OO5 of OO6 satisfying

OO7

The ancilla-success probability becomes

OO8

so conditioned on acceptance, the retained OO9 is distributed according to the target O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,0 (Wang et al., 2023). The paper explicitly describes this as “a novel use of quantum computers to facilitate rejection sampling,” not as an invocation of the standard Ozols–Roetteler–Roland framework (Wang et al., 2023).

A further neighboring direction replaces literal rejection logic by spectral filtering plus fixed-point amplitude amplification. In reversible Markov-chain QSAMPLE preparation, the target state is

O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,1

and the conversion O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,2 is driven by adjacent overlap

O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,3

rather than by an explicit pointwise acceptance ratio (Zhao, 22 May 2026). The method builds approximate selective phases on the stationary eigenspace of a qubitized Szegedy walk and embeds them in fixed-point amplitude amplification, achieving O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,4 query complexity with one additional qubit in the working register (Zhao, 22 May 2026). The paper is technically QRS-like rather than literal rejection sampling.

Another related route uses quantum signal processing rather than explicit accept/reject flags. In proportional sampling, the target distribution is proportional to a nonnegative oracle-defined weight function O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,5, and the algorithm prepares amplitudes proportional to O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,6 by encoding O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,7 into an eigenphase and then applying phase extraction via QSP/QET (Laneve, 2023). The final normalization step again uses amplitude amplification with overhead O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,8, where O0dn=πξ,O\lvert 0\rangle_{dn}=\lvert \pi^\xi\rangle,9 (Laneve, 2023). The paper does not call this QRS, but the task is manifestly QRS-adjacent.

4. Representative applications

The foundational QRS paper already framed the method as a reusable primitive rather than a standalone sampling trick. It identifies three applications: the Harrow–Hassidim–Lloyd linear-systems algorithm, the quantum Metropolis move, and the Boolean hidden shift problem (Ozols et al., 2011). In the HHL setting, the crucial transformation

OO0

is treated as strong resampling; in the quantum Metropolis setting, QRS amplifies the branch weighted by the Metropolis factor OO1; and in the hidden shift problem, the Fourier amplitudes OO2 are converted toward the flat target OO3 by the same water-filling analysis (Ozols et al., 2011).

Approximate inference on Bayesian networks provides one of the earliest explicit algorithmic realizations of QRS in a structured probabilistic model. With a q-sample of the full joint distribution and bounded indegree OO4, the preparation cost is

OO5

and amplitude amplification then yields one sample from OO6 in time

OO7

rather than the classical

OO8

(Low et al., 2014). The speedup is specifically in the rejection dependence on the evidence probability.

Spectral-distribution sampling for early fault-tolerant ground-state energy certification constitutes a different application class. There the target is a Gaussian-smoothed spectral measure,

OO9

and rejection sampling is used to obtain samples from conditioned truncations of this density around a candidate OO^\dagger0 (Wang et al., 2023). The generic theorem gives an expected number OO^\dagger1 of block-encoding uses per accepted sample, while the Gaussian implementation produces circuits of depth OO^\dagger2 (Wang et al., 2023). The application is not merely sampling; it supports a certification test that checks peakedness and conditional variance near the putative ground-state energy.

Lattice-based cryptography has recently produced several explicit QRS instantiations. In discrete Gaussian sampling over lattices, the proposal is the coherent truncated Klein distribution OO^\dagger3, the target is the truncated lattice Gaussian OO^\dagger4, and the amplitude-transduction theorem produces

OO^\dagger5

after an average of OO^\dagger6 calls to the proposal and ratio-computing subroutines, where

OO^\dagger7

(Chevignard et al., 19 May 2026). The final performance theorem yields gate count

OO^\dagger8

and total variation error at most OO^\dagger9 relative to the infinite-support discrete Gaussian (Chevignard et al., 19 May 2026). Closely related work reinterprets Wang–Ling’s lower bound on Klein’s proposal as precisely the domination condition needed for QRS, leading to σξ\lvert \sigma^\xi\rangle0 query complexity for truncated lattice Gaussian preparation and concrete attack-cost reductions of σξ\lvert \sigma^\xi\rangle1, σξ\lvert \sigma^\xi\rangle2, and σξ\lvert \sigma^\xi\rangle3 bits for Kyber-512, Kyber-768, and Kyber-1024, respectively (Ling et al., 24 May 2026).

5. Complexity measures and performance regimes

Across the QRS literature, the quadratic improvement appears in different parameters depending on the access model. In the original state-generation problem, the complexity is σξ\lvert \sigma^\xi\rangle4, and in the exact-support case this becomes σξ\lvert \sigma^\xi\rangle5 (Ozols et al., 2011). In Bayesian-network inference, the improvement is

σξ\lvert \sigma^\xi\rangle6

(Low et al., 2014). In spectral-measure rejection sampling, the expected number of quantum accept/reject trials is

σξ\lvert \sigma^\xi\rangle7

for exact block-encodings, while the Gaussian filtering subroutine itself costs

σξ\lvert \sigma^\xi\rangle8

controlled evolution time (Wang et al., 2023). In lattice Gaussian sampling, the classical dependence σξ\lvert \sigma^\xi\rangle9 becomes σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,00 up to polynomial overheads (Chevignard et al., 19 May 2026, Ling et al., 24 May 2026).

State-preparation QRS makes especially explicit that the amplification cost is governed by the norm ratio of target to reference. Direct postselection succeeds with probability

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,01

so a good reference state can reduce the number of amplitude-amplification rounds to a constant (Lemieux et al., 2024). The paper works out this regime for several structured amplitude families. For power-law amplitudes, the dyadic “ziggurat” majorant gives constant success probability depending only on σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,02, with σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,03 for the case σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,04 (Lemieux et al., 2024). For Gaussian amplitudes, a flat-core plus exponential-tail reference yields

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,05

hence again σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,06 in the regime σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,07 (Lemieux et al., 2024). For hyperbolic tangent amplitudes, the constant reference σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,08 gives

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,09

so σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,10 as well (Lemieux et al., 2024).

Markov-chain QSAMPLE preparation introduces a different performance metric, based on adjacent overlap σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,11, minimum phase gap σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,12, and target trace distance σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,13. The end-to-end theorem gives

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,14

using

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,15

queries and one additional qubit in the working register (Zhao, 22 May 2026). The paper explicitly compares this with Wocjan and Abeyesinghe, improving the overlap dependence from σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,16 to σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,17 and reducing the working-register ancilla cost to one (Zhao, 22 May 2026).

These varied complexity statements indicate that the “quadratic speedup” slogan is precise only relative to a specified bottleneck: evidence probability, domination constant, overlap, or rejection ratio. QRS is therefore not defined by one asymptotic formula, but by a recurring square-root improvement in the acceptance or overlap parameter native to the application.

6. Terminological scope, misconceptions, and contemporary directions

A common misconception is that “quantum rejection sampling” names a single universally accepted primitive. The literature instead shows several partially overlapping uses. The Ozols–Roetteler–Roland paper defines QRS as coherent amplitude reweighting with tight query complexity in an oracle model containing unknown attached states (Ozols et al., 2011). The Bayesian-network paper uses the same term for amplitude-amplified conditional sampling from q-samples and emphasizes that the result is “unrelativized,” since it counts primitive gate operations rather than black-box state-preparation queries (Low et al., 2014). The ground-state certification paper does not adopt the formal label QRS at all, instead proposing “a novel use of quantum computers to facilitate rejection sampling” for spectral distributions (Wang et al., 2023). The Markov-chain QSAMPLE paper is even further from literal rejection logic, though technically close in its use of overlap-driven state conversion and amplification (Zhao, 22 May 2026).

A second misconception is that QRS is always a method for producing classical samples. The foundational formulation targets coherent state generation (Ozols et al., 2011), and several later applications rely critically on preserving the coherent output. The discrete Gaussian sampler “outputs a quantum state which can either be measured to get the desired distribution or be used directly as such in other quantum algorithms” (Chevignard et al., 19 May 2026). The same is true of QSAMPLE preparation for Markov chains and of QSP-based proportional sampling, where the state itself is the intended primitive (Zhao, 22 May 2026, Laneve, 2023).

A third misconception is that QRS automatically yields practical advantage whenever a rejection step exists classically. The papers are more cautious. Bayesian-network QRS is efficient only for bounded indegree σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,18 (Low et al., 2014). State-preparation QRS requires an efficiently preparable reference majorant and efficient coherent arithmetic for the acceptance test (Lemieux et al., 2024). Spectral-measure rejection sampling in ground-state certification has scaling “less favorable than that of the GSEE algorithm,” and the certification routine has

σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,19

expected block-encodings, which is substantially worse than the corresponding estimation algorithm (Wang et al., 2023). Lattice QRS papers often work in an oracle model assuming coherent access to truncated Klein proposals and ratio computations, so their strongest statements are complexity-theoretic rather than low-level gate-synthesis results (Ling et al., 24 May 2026).

Contemporary directions suggest both specialization and unification. Specialization appears in lattice sampling, spectral-measure sampling, and Markov-chain coherent sampling, where application structure determines the accept subspace and the complexity parameter (Chevignard et al., 19 May 2026, Wang et al., 2023, Zhao, 22 May 2026). Unification appears in the attempt to treat state preparation and matrix block-encoding under one reference-design framework, where previous methods are interpreted as special cases of QRS with different choices of σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,20 or σξ=k=1nσkξkk,\lvert \sigma^\xi\rangle=\sum_{k=1}^n \sigma_k \lvert \xi_k\rangle \lvert k\rangle,21 (Lemieux et al., 2024). A plausible implication is that the most productive future uses of QRS may arise not from a single abstract formalism, but from systematically identifying hidden domination or overlap structures in domain-specific algorithms and then turning those structures into coherent accept branches amenable to amplification.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Quantum Rejection Sampling (QRS).