Quantum Rejection Sampling (QRS)
- 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
into
where the amplitudes are known, while the attached states 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 (Ozols et al., 2011). The input is a preparation oracle satisfying
with access to both and , and the objective is to prepare the target state without learning or disturbing the hidden states 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
1
with 2 (Ozols et al., 2011). Exact generation corresponds to 3, while 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
5
from which the paper defines the optimal filtered vector 6 (Ozols et al., 2011). The main theorem states
7
At 8, this reduces to
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 0, where one is given a reflection oracle through the source state,
1
and only amplitude ratios via 2 (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
3
one applies, controlled on 4, a one-qubit rotation 5 whose sine is 6, yielding
7
(Ozols et al., 2011). If the ancilla were measured immediately, the accept probability would be
8
and the postselected accept branch would have overlap
9
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 0, then applies amplitude amplification. Choosing 1 for a constant 2, the target can be reached in
3
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
4
which decomposes into evidence-consistent and evidence-inconsistent sectors with amplitude 5 on the desired evidence pattern (Low et al., 2014). Amplitude amplification with the Grover iterate
6
reduces the dependence on the evidence probability from 7 classically to 8 quantumly, giving per-sample complexity
9
for a Bayesian network with 0 nodes and maximum indegree 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
2
and reference
3
the algorithm introduces a sampling register of dimension 4, coherently flags whether 5, and uses amplitude amplification to project onto the accepted branch (Lemieux et al., 2024). The number of amplification rounds is
6
so the usefulness of the method depends explicitly on constructing an efficiently preparable reference 7 with small 8 (Lemieux et al., 2024). The same logic is lifted entrywise to matrices by introducing a reference matrix 9 satisfying 0, yielding block-encodings of 1 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
2
(Wang et al., 2023). A classical computer first samples 3, and a quantum computer accepts 4 by implementing a block-encoding 5 of 6 satisfying
7
The ancilla-success probability becomes
8
so conditioned on acceptance, the retained 9 is distributed according to the target 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
1
and the conversion 2 is driven by adjacent overlap
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 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 5, and the algorithm prepares amplitudes proportional to 6 by encoding 7 into an eigenphase and then applying phase extraction via QSP/QET (Laneve, 2023). The final normalization step again uses amplitude amplification with overhead 8, where 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
0
is treated as strong resampling; in the quantum Metropolis setting, QRS amplifies the branch weighted by the Metropolis factor 1; and in the hidden shift problem, the Fourier amplitudes 2 are converted toward the flat target 3 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 4, the preparation cost is
5
and amplitude amplification then yields one sample from 6 in time
7
rather than the classical
8
(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,
9
and rejection sampling is used to obtain samples from conditioned truncations of this density around a candidate 0 (Wang et al., 2023). The generic theorem gives an expected number 1 of block-encoding uses per accepted sample, while the Gaussian implementation produces circuits of depth 2 (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 3, the target is the truncated lattice Gaussian 4, and the amplitude-transduction theorem produces
5
after an average of 6 calls to the proposal and ratio-computing subroutines, where
7
(Chevignard et al., 19 May 2026). The final performance theorem yields gate count
8
and total variation error at most 9 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 0 query complexity for truncated lattice Gaussian preparation and concrete attack-cost reductions of 1, 2, and 3 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 4, and in the exact-support case this becomes 5 (Ozols et al., 2011). In Bayesian-network inference, the improvement is
6
(Low et al., 2014). In spectral-measure rejection sampling, the expected number of quantum accept/reject trials is
7
for exact block-encodings, while the Gaussian filtering subroutine itself costs
8
controlled evolution time (Wang et al., 2023). In lattice Gaussian sampling, the classical dependence 9 becomes 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
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 02, with 03 for the case 04 (Lemieux et al., 2024). For Gaussian amplitudes, a flat-core plus exponential-tail reference yields
05
hence again 06 in the regime 07 (Lemieux et al., 2024). For hyperbolic tangent amplitudes, the constant reference 08 gives
09
so 10 as well (Lemieux et al., 2024).
Markov-chain QSAMPLE preparation introduces a different performance metric, based on adjacent overlap 11, minimum phase gap 12, and target trace distance 13. The end-to-end theorem gives
14
using
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 16 to 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 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
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 20 or 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.