Ancilla-Efficient QSAMPLE Preparation for Reversible Markov Chains
Pith reviewed 2026-05-25 04:48 UTC · model grok-4.3
The pith
A quantum algorithm prepares coherent samples from reversible Markov chains using only one ancilla qubit and inverse-square-root query scaling.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Given an initial state, oracle access, lower bounds on the overlaps between adjacent states, and lower bounds on the phase gaps, the algorithm outputs a QSAMPLE within any desired trace distance. The query complexity scales as the inverse square root of the minimum overlap and minimum spectral gap of the Markov chains across the cooling schedule, up to polylogarithmic factors, while using only one ancilla qubit in the working register.
What carries the argument
A selective phase compiler circuit using one ancilla qubit, constructed via a GQSP-based projector onto the 1-eigenspace of the qubitized Szegedy walk and inserted into the fixed-point amplitude amplification procedure.
If this is right
- The working-register ancilla cost is reduced to one qubit.
- The QSAMPLE transport overlap dependence improves from inverse minimum overlap to inverse square-root minimum overlap relative to the prior Grover pi-over-three fixed-point method.
- A rigorous complexity analysis is obtained for preparing a Gibbs QSAMPLE as a direct application.
- The framework supports any desired trace distance by adjusting the iteration count in the amplitude amplification loop.
Where Pith is reading between the lines
- Hardware implementations of quantum sampling could become feasible on devices with severely limited ancilla resources.
- The selective phase compiler technique may transfer to other quantum walk algorithms that need controlled phase operations without extra qubits.
- Simulations of the qubit and query scaling versus trace distance provide a practical benchmark for comparing against earlier methods on concrete chains.
Load-bearing premise
The procedure assumes the user can supply lower bounds on the minimum overlap between adjacent states and on the minimum phase gap of the Markov chains.
What would settle it
Implement the algorithm on a small, explicitly diagonalizable reversible Markov chain with known stationary distribution and verify whether the output state reaches the claimed trace distance to the target QSAMPLE within the predicted number of queries.
Figures
read the original abstract
Preparing quantum samples (QSAMPLES), coherent encodings of stationary distributions of reversible Markov chains, is a fundamental primitive in quantum sampling, particularly for quantum simulated annealing. A central limitation of existing phase-estimation-based frameworks is the ancilla qubit overhead. In this work, we present a new end-to-end framework requiring only one ancilla qubit in the working register. The key technical ingredient is a selective phase compiler circuit using one ancilla qubit, built from a generalized quantum signal processing (GQSP)-based projector onto the 1-eigenspace of the qubitized Szegedy walk. Embedding these selective phase compilers into the fixed-point amplitude amplification (FPAA) procedure and iterating yields a quantum algorithm that, given an initial state, oracle access, lower bounds on the overlaps between adjacent states, and lower bounds on the phase gaps, outputs a QSAMPLE within any desired trace distance and thus total variation distance. The query complexity scales inversely with the square roots of both the minimum overlap and the minimum spectral gap of the Markov chains across the cooling schedule, up to polylogarithmic factors. We also perform simulations to verify how our qubit and query complexity evolve with the trace distance, and how this work compares to the previous framework. These results establish two improvements over the previous framework by Wocjan and Abeyesinghe. First, the working-register ancilla cost is reduced to one. Second, by inserting our GQSP-based selective phase compiler into the FPAA procedure, we improve the QSAMPLE transport overlap dependence from inverse minimum overlap to inverse square-root minimum overlap, relative to their Grover pi-over-three fixed-point method. Finally, as a direct application, we apply the quantum algorithm to prepare a Gibbs QSAMPLE and obtain a rigorous complexity analysis.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript presents an end-to-end quantum algorithm for preparing QSAMPLES (coherent encodings of stationary distributions) of reversible Markov chains. It requires only one ancilla qubit by constructing a GQSP-based selective phase compiler that projects onto the 1-eigenspace of the qubitized Szegedy walk, then embedding this compiler inside fixed-point amplitude amplification (FPAA). Given an initial state, oracle access, and supplied lower bounds on minimum state overlaps and phase gaps across a cooling schedule, the algorithm outputs a QSAMPLE to arbitrary trace distance (hence total variation distance). The query complexity scales as the inverse square root of the minimum overlap and minimum spectral gap (up to polylog factors). The work claims two improvements over Wocjan and Abeyesinghe: reduction to one working-register ancilla and replacement of their linear overlap dependence with square-root dependence. Simulations are provided to track qubit and query costs versus target trace distance, and the framework is applied to Gibbs-state preparation with a rigorous complexity bound.
Significance. If the central construction is correct, the result meaningfully lowers the ancilla overhead for quantum sampling primitives and improves the overlap scaling, both of which are practically relevant for quantum simulated annealing and related algorithms on hardware with limited qubit resources. The explicit treatment of supplied lower bounds on overlaps and gaps as inputs, together with the simulation verification and the Gibbs-state application, strengthens the contribution.
major comments (2)
- [Section 3 (GQSP projector and selective phase compiler)] The one-ancilla claim and the sqrt-overlap improvement both rest on the GQSP-based selective phase compiler inside FPAA. The manuscript should supply an explicit resource count (qubit and gate) for this compiler, including how the projector is realized without additional ancillae beyond the stated single qubit (see the construction around the qubitized Szegedy walk).
- [Section 4 (complexity analysis)] The final query complexity is stated to be O(1/sqrt(delta_min * gamma_min) * polylog(1/epsilon)). The error-propagation analysis that converts the supplied lower bounds and the FPAA iteration count into this scaling (including the precise polylog factors) should be written out with explicit constants or big-O derivations rather than summarized.
minor comments (3)
- [Abstract and Section 1] The abstract and introduction use “QSAMPLE” and “GQSP” before defining them; a short parenthetical definition at first use would improve readability.
- [Simulation section] Simulation figures comparing qubit/query cost versus trace distance would benefit from explicit captions stating the Markov chain family, the cooling schedule, and the numerical values chosen for the supplied overlap and gap lower bounds.
- [Section 6 (Gibbs application)] A brief remark on how the supplied lower bounds on overlaps and phase gaps might be obtained or bounded in the Gibbs-state application would help readers assess practicality, even if only as a high-level discussion.
Simulated Author's Rebuttal
We thank the referee for their careful reading, positive recommendation, and constructive suggestions. We address each major comment below and will revise the manuscript accordingly to improve clarity and completeness.
read point-by-point responses
-
Referee: [Section 3 (GQSP projector and selective phase compiler)] The one-ancilla claim and the sqrt-overlap improvement both rest on the GQSP-based selective phase compiler inside FPAA. The manuscript should supply an explicit resource count (qubit and gate) for this compiler, including how the projector is realized without additional ancillae beyond the stated single qubit (see the construction around the qubitized Szegedy walk).
Authors: We agree that an explicit resource count would strengthen the presentation of the one-ancilla construction. In the revised manuscript we will add a dedicated subsection in Section 3 that tabulates the qubit and gate counts for the GQSP-based selective phase compiler. The new material will detail the circuit decomposition of the projector onto the 1-eigenspace of the qubitized Szegedy walk, confirming that the construction uses precisely one ancilla qubit and no additional working-register ancillae. revision: yes
-
Referee: [Section 4 (complexity analysis)] The final query complexity is stated to be O(1/sqrt(delta_min * gamma_min) * polylog(1/epsilon)). The error-propagation analysis that converts the supplied lower bounds and the FPAA iteration count into this scaling (including the precise polylog factors) should be written out with explicit constants or big-O derivations rather than summarized.
Authors: We accept that the current summary of the error-propagation analysis in Section 4 is insufficiently detailed. In the revision we will expand Section 4 with a self-contained derivation that traces the supplied lower bounds on overlaps and phase gaps through the FPAA iteration count, the error accumulation at each step, and the final conversion to the stated query complexity, including explicit polylogarithmic factors and the underlying big-O derivations. revision: yes
Circularity Check
No significant circularity detected
full rationale
The derivation supplies an end-to-end QSAMPLE algorithm whose query complexity and ancilla count are stated explicitly conditional on externally supplied lower bounds for minimum overlap and minimum phase gap; these bounds are modeled as oracles/inputs rather than outputs of the procedure. The claimed improvements (one ancilla via GQSP projector inside FPAA, sqrt-overlap scaling) follow directly from the construction once those inputs are granted, building on the external prior framework of Wocjan and Abeyesinghe. No load-bearing step reduces by definition, by fitted-parameter renaming, or by self-citation chain to the target result itself.
Axiom & Free-Parameter Ledger
axioms (2)
- standard math Standard quantum circuit model with oracle access to the Markov chain transition operator and its controlled version.
- domain assumption Reversibility of the Markov chains under consideration.
Reference graph
Works this paper leans on
-
[1]
Quantum amplitude amplification and estimation,
G. Brassard, P. Høyer, M. Mosca, and A. Tapp, “Quantum amplitude amplification and estimation,” inQuantum Computation and Information, AMS, 2002, pp. 53–74. doi: 10.1090/conm/305/05215
-
[2]
Quantum speedup of Monte Carlo methods,
A. Montanaro, “Quantum speedup of Monte Carlo methods,”Proc. Royal Society A: Math., Phys., Eng. Sci., vol. 471, no. 2181, p. 20150301, Sep
-
[3]
doi: 10.1098/rspa.2015.0301
-
[4]
Near-optimal quantum algorithms for multivariate mean estimation,
A. Cornelissen, Y . Hamoudi, and S. Jerbi, “Near-optimal quantum algorithms for multivariate mean estimation,” inProc. 54th Annu. ACM SIGACT Symp. Theory of Computing (STOC ’22), ACM, Jun. 2022, pp. 33–43. doi: 10.1145/3519935.3520045
-
[5]
P. Wocjan and A. Abeyesinghe, “Speed-up via quantum sampling,”Phys- ical Review A, vol. 78, no. 4, p. 042336, Oct. 2008. doi: 10.1103/Phys- RevA.78.042336
-
[6]
Quantum Simulations of Classical Annealing Processes
R. D. Somma, S. Boixo, H. Barnum, and E. Knill, “Quantum simu- lations of classical annealing processes,”Physical Review Letters, vol. 101, no. 13, p. 130504, 2008. doi: 10.1103/PhysRevLett.101.130504. arXiv:0804.1571
work page internal anchor Pith review Pith/arXiv arXiv doi:10.1103/physrevlett.101.130504 2008
-
[7]
Quantum speed-up of Markov chain based algorithms,
M. Szegedy, “Quantum speed-up of Markov chain based algorithms,” in Proc. 45th Annu. IEEE Symp. Foundations of Computer Science (FOCS), 2004, pp. 32–41. doi: 10.1109/FOCS.2004.53
-
[8]
F. Magniez, A. Nayak, J. Roland, and M. Santha, “Search via quantum walk,”SIAM Journal on Computing, vol. 40, no. 1, pp. 142–164, Jan
-
[9]
doi: 10.1137/090745854
-
[10]
Adaptive simulated annealing: A near-optimal connection between sampling and counting,
D. ˇStefankoviˇc, S. Vempala, and E. Vigoda, “Adaptive simulated annealing: A near-optimal connection between sampling and counting,”J. ACM, vol. 56, no. 3, art. 18, May 2009. doi: 10.1145/1516512.1516520
-
[11]
A sublinear-time quantum algorithm for approximating partition functions,
A. Cornelissen and Y . Hamoudi, “A sublinear-time quantum algorithm for approximating partition functions,” arXiv:2207.08643, 2023. doi: 10.1137/1.9781611977554.ch46
-
[12]
Simpler (classical) and faster (quantum) algorithms for Gibbs partition functions,
S. Arunachalam, V . Havlicek, G. Nannicini, K. Temme, and P. Wocjan, “Simpler (classical) and faster (quantum) algorithms for Gibbs partition functions,”Quantum, vol. 6, p. 789, Sep. 2022. doi: 10.22331/q-2022- 09-01-789
-
[13]
Quantum algorithm for approximating partition functions,
P. Wocjan, C.-F. Chiang, D. Nagaj, and A. Abeyesinghe, “Quantum algorithm for approximating partition functions,”Physical Review A, vol. 80, no. 2, p. 022340, Aug. 2009. doi: 10.1103/PhysRevA.80.022340
-
[14]
Adaptive quantum simulated annealing for Bayesian inference and estimating partition functions,
A. W. Harrow and A. Y . Wei, “Adaptive quantum simulated annealing for Bayesian inference and estimating partition functions,” inProc. 14th Annu. ACM-SIAM Symp. Discrete Algorithms, SIAM, 2020, pp. 193–212. doi: 10.1137/1.9781611975994.12
-
[15]
A fast quantum mechanical algorithm for database search
L. K. Grover, “A fast quantum mechanical algorithm for database search,” arXiv:quant-ph/9605043, 1996
work page internal anchor Pith review Pith/arXiv arXiv 1996
-
[16]
Fixed-point quantum search with an optimal number of queries,
T. J. Yoder, G. H. Low, and I. L. Chuang, “Fixed-point quantum search with an optimal number of queries,”Physical Review Letters, vol. 113, no. 21, p. 210501, Nov. 2014. doi: 10.1103/PhysRevLett.113.210501
-
[17]
Generalized quantum signal processing,
D. Motlagh and N. Wiebe, “Generalized quantum signal processing,” PRX Quantum, vol. 5, no. 2, p. 020368, 2024. doi: 10.1103/PRXQuan- tum.5.020368
-
[18]
A simple algorithm to reflect through eigenspaces of unitaries,
B. Claudon, “A simple algorithm to reflect through eigenspaces of unitaries,” arXiv:2412.09320, 2025
-
[19]
Quan- tum circuits for the Metropolis-Hastings algorithm,
B. Claudon, P. Rodenas-Ruiz, J.-P. Piquemal, and P. Monmarch ´e, “Quan- tum circuits for the Metropolis-Hastings algorithm,” arXiv:2506.11576, 2025
-
[20]
Quantum speedup for nonreversible Markov chains,
B. Claudon, J.-P. Piquemal, and P. Monmarch ´e, “Quantum speedup for nonreversible Markov chains,”Nature Communications, vol. 16, no. 1, Nov. 2025. doi: 10.1038/s41467-025-65761-5
-
[21]
Adiabatic quantum state generation and statistical zero knowledge,
D. Aharonov and A. Ta-Shma, “Adiabatic quantum state generation and statistical zero knowledge,” inProc. 35th Annu. ACM Symp. Theory of Computing (STOC ’03), ACM, 2003, pp. 20–29
work page 2003
-
[22]
Quantum Lower Bound for the Collision Problem
S. Aaronson, “Quantum lower bound for the collision problem,” arXiv:quant-ph/0111102, 2001
work page internal anchor Pith review Pith/arXiv arXiv 2001
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.