Papers
Topics
Authors
Recent
Search
2000 character limit reached

Quantum Rejection Sampling Overview

Updated 22 April 2026
  • Quantum rejection sampling is defined as extending classical rejection sampling to the quantum realm by modulating state amplitudes via techniques like Grover iterations.
  • It enables efficient quantum state synthesis and Bayesian inference through methods that adjust and amplify amplitudes, facilitating tasks such as spectral estimation and state conversion.
  • The approach balances resource requirements and circuit complexity while ensuring adherence to physical constraints in quantum state spaces.

Quantum rejection sampling denotes a set of quantum algorithms and primitives that generalize the classical rejection sampling technique for modifying distributions or state amplitudes, targeting either statistical sampling or quantum state synthesis tasks. In the quantum context, rejection sampling is not only used to generate samples from a target probability distribution but is also integral to the preparation of quantum states with prescribed amplitude profiles, acting as a key component in several quantum algorithms that require amplitude modulation and probabilistic filtering. The quantum versions utilize amplitude amplification (e.g., Grover iterations) or coherent acceptance procedures to achieve quadratic speedups over classical rejection in diverse algorithmic settings, including quantum Bayesian inference, state conversion, quantum Monte Carlo, and state space exploration (Low et al., 2014, Ozols et al., 2011, Wang et al., 2023, Shang et al., 2014).

1. Conceptual Foundations and Problem Formulations

Quantum rejection sampling extends classical rejection sampling strategies to quantum superpositions and distributions. In classical rejection sampling, one draws candidate samples from a proposal distribution q(x)q(x) and accepts each with probability min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\} so as to realize a target density π(x)\pi(x). In the quantum setting, the analogue is either:

  • Accept/reject sampling conditioned on quantum-compatible constraints (e.g., physicality of density matrices, measurement results) (Shang et al., 2014),
  • Coherent amplitude modulation and state conversion, whereby the amplitudes in an initial quantum superposition are "remodulated" to match a target set, typically up to normalization and success probability (Ozols et al., 2011).

In Ozols, Roetteler, and Roland's formulation, the quantum version takes as input a unitary oracle OO preparing a known superposition ΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle and aims to convert this to another superposition Ψo=kokξkk|\Psi_o\rangle = \sum_k o_k |\xi_k\rangle|k\rangle for a different vector of (normalized, nonnegative) amplitudes oo (Ozols et al., 2011).

2. Algorithmic Schemes

2.1 Quantum Amplitude Amplification for Rejection Overhead

A central quantum advantage arises because classically, the cost per accepted sample from a Bayesian network is O(nmP(e)1)O(nm P(e)^{-1}), where P(e)P(e) is the acceptance/evidence probability. Quantum amplitude amplification reduces this to O(n2mP(e)1/2)O(n 2^m P(e)^{-1/2}), exploiting the quadratic speedup characteristic of Grover's algorithm. This result is unrelativized—no oracles or black-boxes beyond the described circuits are assumed (Low et al., 2014).

2.2 Modulation of Amplitudes (QSAMPLING Problem)

The QSAMPLINGmin{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}0 problem formalizes the task of producing min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}1 from min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}2 and reflection access to min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}3. The circuit structure involves:

  • Preparation of min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}4 via min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}5,
  • Ancilla registers for "accept/reject" marking,
  • Controlled rotations min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}6 parameterized by intermediary vector min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}7,
  • Amplitude amplification to boost the acceptance probability (amplitude squared) to near certainty,
  • Post-selection or uncomputation to return the required state (Ozols et al., 2011).

For sampling over spaces constrained by physicality (e.g., the quantum state space), classical rejection with proposal and target measures is used, but sometimes hybrid quantum-classical primitives are developed, e.g., for ground-state energy density certification (Wang et al., 2023).

2.3 Quantum Subroutines in Continuous Parameter Sampling

In energy estimation and spectral measure sampling, the quantum computer acts as an acceptance arbiter for classically proposed min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}8, leveraging block-encoded unitaries min{1,π(x)/Mq(x)}\min\{1, \pi(x)/Mq(x)\}9 to implement operators π(x)\pi(x)0 and measuring corresponding ancillae. The quantum acceptance matches the desired smeared spectral distribution, conditioned on correct parameter selection (Wang et al., 2023).

3. Complexity Analysis and Lower Bounds

The efficiency of quantum rejection sampling derives from quadratic improvements in acceptance probability scaling. In conditional Bayesian network sampling, the time to a valid sample is reduced from π(x)\pi(x)1 classically to π(x)\pi(x)2 quantumly. The total quantum cost is π(x)\pi(x)3 gates per sample (Low et al., 2014).

For the more abstract QSAMPLINGπ(x)\pi(x)4 scenario, query complexity analysis is conducted via an explicit semidefinite program (SDP) over feasible amplitude vectors π(x)\pi(x)5, subject to physical constraints. The optimal cost is π(x)\pi(x)6, with π(x)\pi(x)7 given by a "water-filling" solution. The matching lower bound follows from an automorphism (twirling) argument, ensuring optimality up to constants (Ozols et al., 2011).

In continuous distributions or spectral measure sampling (e.g., (Wang et al., 2023)), the expected number of quantum trials per accepted sample is π(x)\pi(x)8, where π(x)\pi(x)9 arises from proposal-to-target majorization and normalization properties.

4. Implementational Details and Resource Estimates

The typical workflow of quantum rejection sampling involves:

  • State preparation: Compiling state-preparation circuits for OO0 from a Bayesian network, with circuit size OO1 (Low et al., 2014), or oracle-based construction for indexed state sets (Ozols et al., 2011).
  • Ancilla usage: OO2 ancillae for controlled phase flips, with additional ancilla registers as "coin" for amplitude marking and acceptance.
  • Gate complexity: Each Grover or amplitude amplification iterate requires OO3 (Bayesian networks) or OO4 (accept/reject coin) for appropriate oracular scenarios.
  • Circuit depth: For each Grover step, OO5 (Bayesian) or OO6 (degree of block-encoding) for spectral tasks (Low et al., 2014, Wang et al., 2023).
  • Qubit count: Dependent on problem; OO7 for primary variables and OO8 for ancillae in Bayesian inference, OO9 ancillas in block-encoding-based spectral sampling (Low et al., 2014, Wang et al., 2023).
  • No black-box oracles or uncounted state-preparation modules in primary unrelativized speedup results (Low et al., 2014).

Resource bottlenecks arise if the proposal and target distributions are misaligned, leading to low acceptance rates, or in sampling over high-dimensional quantum state spaces where the volume fraction of permissible (physical) samples vanishes—necessitating careful proposal design or MCMC methods (Shang et al., 2014).

5. Applications and Algorithmic Use-Cases

Quantum rejection sampling is a recognized primitive in several quantum algorithms:

  • HHL Algorithm (Quantum Linear Systems): The procedure to construct ΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle0 via controlled rotations is an instance of QSAMPLINGΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle1 with ΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle2, ΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle3, with cost ΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle4, matching HHL's ΨT=kTkξkk|\Psi_T\rangle = \sum_k T_k |\xi_k\rangle|k\rangle5 scaling (Ozols et al., 2011).
  • Quantum Metropolis Moves: Acceptance amplitudes for energy-proportional moves can be quadratically amplified, reducing "rollback" costs (Ozols et al., 2011).
  • Bayesian Networks: Direct quadratic speedup in rare-evidence Bayesian inference—core for probabilistic reasoning with low-likelihood events (Low et al., 2014).
  • Ground-State Certification: Quantum acceptance of classically proposed samples for certified estimation of spectral densities and energy intervals, circumventing discretization issues and enabling efficient certification on operation-limited hardware (Wang et al., 2023).
  • Quantum State Space Exploration: Monte Carlo-like sampling of quantum state spaces, subject to positivity and trace constraints, via rejection or MCMC methods (Shang et al., 2014).
  • Boolean Hidden Shift: State amplitude "flattening" via QSAMPLING, with cost determined by "water-filling" of the Fourier spectrum (Ozols et al., 2011).

A summary table of primary contexts for quantum rejection sampling:

Application Quantum Role Reference
HHL linear solver Amplitude remodulation (Ozols et al., 2011)
Bayesian net inference Evidence amplitude boosting (Low et al., 2014)
Metropolis sampling Move acceptance / rollback (Ozols et al., 2011)
Ground-state certify Spectral measure filtering (Wang et al., 2023)
State space MC Candidate acceptance (Shang et al., 2014)
Hidden shift problem Fourier amplitude flattening (Ozols et al., 2011)

6. Extensions, Limitations, and Practical Considerations

Quantum rejection sampling requires physical feasibility in state encoding: for quantum state spaces, this entails efficient checks for positivity and trace constraints, managed by algorithms such as the Ginibre ensemble and gradient-based physicality tests (Shang et al., 2014). Acceptance rates may decrease exponentially with system size unless proposal and target measures are carefully balanced.

The quantum variant attains unrelativized (oracle-free) quadratic speedups for rejection overhead. However, the burden of large logical circuits and ancilla management persists in practice. The acceptance amplification may be infeasible for very low target acceptance rates, suggesting a need for hybrid quantum–classical protocols or further algorithmic refinement. In contexts where classically rejecting candidates is computationally prohibitive (e.g., in high-dimensional quantum state inference), alternative strategies such as MCMC or Hamiltonian Monte Carlo are preferred, with quantum rejection sampling retaining relevance for low-to-moderate dimension regimes (Shang et al., 2014).

Quantum rejection sampling subroutines with block-encoding constructions have notable application prospects in continuous parameter problems, spectral estimation, and quantum Monte Carlo, leveraging improved Hamiltonian simulation schemes (Wang et al., 2023). As more efficient state preparation, amplitude amplification, and quantum verification tools mature, quantum rejection sampling is poised to become a foundational component of practical quantum algorithms.

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.