Quantum state preparation via piecewise QSVT
1Riverlane, Cambridge, United Kingdom
2Department of Applied Mathematics and Theoretical Physics, University of Cambridge, Wilberforce Road, Cambridge, CB3 0WA, United Kingdom
| Published: | 2025-07-03, volume 9, page 1786 |
| Editor: | Daniel Malz |
| Eprint: | arXiv:2409.07332v2 |
| Doi: | https://doi.org/10.22331/q-2025-07-03-1786 |
| Citation: | Quantum 9, 1786 (2025). |
Find this paper interesting or want to discuss? Scite or leave a comment on SciRate.
Abstract
Efficient state preparation is essential for implementing efficient quantum algorithms. Whilst several techniques for low-cost state preparation exist, this work facilitates further classes of states, whose amplitudes are well approximated by piecewise polynomials. We show how such states can be efficiently prepared using a piecewise Quantum Singular Value Transformation along with a new piecewise linear diagonal block encoding. We illustrate this with the explicit examples of $x^\alpha|x\rangle$ and $\log x|x\rangle$. Further, our technique reduces the cost of window boosted Quantum Phase Estimation by efficiently preparing the B-spline window state. We demonstrate this window state requires 50 times fewer Toffolis to prepare than the state-of-the-art Kaiser window state, and we show that the B-spline window replicates the Kaiser window's exponential reduction in tail probability for QPE.

Featured image: High level overview of algorithm: Target state is approximated by a piecewise polynomial, then piecewise QSVT is used prepare a state with amplitudes uniformly sampled from this piecewise polynomial.
Popular summary
While some classes of data can be compressed and loaded efficiently, many real-world datasets contain sharp discontinuities or singularities that make this much more difficult. In this work, we introduce a new method for efficiently loading such challenging data into quantum systems, enabling faster access to a broader range of inputs.
We achieve this by extending a powerful framework known as Quantum Singular Value Transformation (QSVT). QSVT allows polynomial transformations of matrices that are encoded into quantum circuits—a process known as block encoding. We develop a piecewise variant of QSVT that applies different polynomial transformations to different regions of the input, allowing us to better match the structure of complex data. To support this, we introduce a new block encoding that enables efficient sampling from piecewise polynomial transformations.
To demonstrate the impact of our method, we show how it can efficiently prepare a classical B-spline window function—valued for its excellent spectral properties. This function enhances the performance of Quantum Phase Estimation (QPE), a key subroutine in many quantum algorithms. Using our technique, this enhancement can be achieved with 50 times fewer resources than the best previous methods.
Our work provides a general framework for preparing a wider range of quantum states based on structured classical data, especially those with localized features or sharp transitions. We expect it to be broadly useful in early fault-tolerant quantum computing, where minimizing circuit costs is essential.
► BibTeX data
► References
[1] Alán Aspuru-Guzik, Anthony D. Dutoi, Peter J. Love, and Martin Head-Gordon. ``Simulated quantum computation of molecular energies''. Science 309, 1704–1707 (2005).
https://doi.org/10.1126/science.1113479
[2] Sam McArdle, Suguru Endo, Alán Aspuru-Guzik, Simon C. Benjamin, and Xiao Yuan. ``Quantum computational chemistry''. Rev. Mod. Phys. 92, 015003 (2020).
https://doi.org/10.1103/RevModPhys.92.015003
[3] Yuan Su, Dominic W. Berry, Nathan Wiebe, Nicholas Rubin, and Ryan Babbush. ``Fault-tolerant quantum simulations of chemistry in first quantization''. PRX Quantum 2, 040332 (2021).
https://doi.org/10.1103/PRXQuantum.2.040332
[4] William J. Huggins, Oskar Leimkuhler, Torin F. Stetina, and K. Birgitta Whaley. ``Efficient state preparation for the quantum simulation of molecules in first quantization'' (2024). arXiv:2407.00249.
arXiv:2407.00249
[5] Scott Aaronson. ``Read the fine print''. Nature Phys. 11, 291–293 (2015).
https://doi.org/10.1038/nphys3272
[6] Shouvanik Chakrabarti, Rajiv Krishnakumar, Guglielmo Mazzola, Nikitas Stamatopoulos, Stefan Woerner, and William J. Zeng. ``A Threshold for Quantum Advantage in Derivative Pricing''. Quantum 5, 463 (2021).
https://doi.org/10.22331/q-2021-06-01-463
[7] Javier Gonzalez-Conde, Ángel Rodríguez-Rozas, Enrique Solano, and Mikel Sanz. ``Efficient Hamiltonian simulation for solving option price dynamics''. Phys. Rev. Res. 5, 043220 (2023). arXiv:2101.04023.
https://doi.org/10.1103/PhysRevResearch.5.043220
arXiv:2101.04023
[8] Steven Herbert. ``No quantum speedup with grover-rudolph state preparation for quantum monte carlo integration''. Phys. Rev. E 103, 063302 (2021).
https://doi.org/10.1103/PhysRevE.103.063302
[9] Alexander M. Dalzell et al. ``End-To-End Resource Analysis for Quantum Interior-Point Methods and Portfolio Optimization''. PRX Quantum 4, 040325 (2023). arXiv:2211.12489.
https://doi.org/10.1103/PRXQuantum.4.040325
arXiv:2211.12489
[10] Leigh Lapworth. ``A Hybrid Quantum-Classical CFD Methodology with Benchmark HHL Solutions'' (2022). arXiv:2206.00419.
arXiv:2206.00419
[11] Shi-Ju Ran. ``Encoding of matrix product states into quantum circuits of one- and two-qubit gates''. Physical Review A 101 (2020).
https://doi.org/10.1103/physreva.101.032310
[12] A. Holmes and A. Y. Matsuura. ``Efficient quantum circuits for accurate state preparation of smooth, differentiable functions''. In 2020 IEEE International Conference on Quantum Computing and Engineering (QCE). Pages 169–179. Los Alamitos, CA, USA (2020). IEEE Computer Society.
https://doi.org/10.1109/QCE49297.2020.00030
[13] Ar A Melnikov, A A Termanova, S V Dolgov, F Neukart, and M R Perelshtein. ``Quantum state preparation using tensor networks''. Quantum Science and Technology 8, 035027 (2023).
https://doi.org/10.1088/2058-9565/acd9e7
[14] Michael Lubasch, Jaewoo Joo, Pierre Moinier, Martin Kiffner, and Dieter Jaksch. ``Variational quantum algorithms for nonlinear problems''. Phys. Rev. A 101, 010301 (2020).
https://doi.org/10.1103/PhysRevA.101.010301
[15] Rohit Dilip, Yu-Jie Liu, Adam Smith, and Frank Pollmann. ``Data compression for quantum machine learning''. Phys. Rev. Res. 4, 043007 (2022).
https://doi.org/10.1103/PhysRevResearch.4.043007
[16] Jason Iaconis, Sonika Johri, and Elton Yechao Zhu. ``Quantum state preparation of normal distributions using matrix product states''. npj Quantum Inf. 10, 15 (2024). arXiv:2303.01562.
https://doi.org/10.1038/s41534-024-00805-0
arXiv:2303.01562
[17] Daniel Malz, Georgios Styliaris, Zhi-Yuan Wei, and J. Ignacio Cirac. ``Preparation of matrix product states with log-depth quantum circuits''. Phys. Rev. Lett. 132, 040404 (2024).
https://doi.org/10.1103/PhysRevLett.132.040404
[18] Xiao-Ming Zhang, Tongyang Li, and Xiao Yuan. ``Quantum state preparation with optimal circuit depth: Implementations and applications''. Phys. Rev. Lett. 129, 230504 (2022).
https://doi.org/10.1103/PhysRevLett.129.230504
[19] Jonathan Welch, Daniel Greenbaum, Sarah Mostame, and Alan Aspuru-Guzik. ``Efficient quantum circuits for diagonal unitaries without ancillas''. New Journal of Physics 16, 033040 (2014).
https://doi.org/10.1088/1367-2630/16/3/033040
[20] Julien Zylberman and Fabrice Debbasch. ``Efficient quantum state preparation with Walsh series''. Phys. Rev. A 109, 042401 (2024). arXiv:2307.08384.
https://doi.org/10.1103/PhysRevA.109.042401
arXiv:2307.08384
[21] Mudassir Moosa, Thomas W. Watts, Yiyou Chen, Abhijat Sarma, and Peter L. McMahon. ``Linear-depth quantum circuits for loading Fourier approximations of arbitrary functions''. Quantum Sci. Technol. 9, 015002 (2024). arXiv:2302.03888.
https://doi.org/10.1088/2058-9565/acfc62
arXiv:2302.03888
[22] Christa Zoufal, Aurélien Lucchi, and Stefan Woerner. ``Quantum generative adversarial networks for learning and loading random distributions''. npj Quantum Information 5 (2019).
https://doi.org/10.1038/s41534-019-0223-2
[23] Kouhei Nakaji, Shumpei Uno, Yohichi Suzuki, Rudy Raymond, Tamiya Onodera, Tomoki Tanaka, Hiroyuki Tezuka, Naoki Mitsuda, and Naoki Yamamoto. ``Approximate amplitude encoding in shallow parameterized quantum circuits and its application to financial market indicators''. Phys. Rev. Res. 4, 023136 (2022). arXiv:2103.13211.
https://doi.org/10.1103/PhysRevResearch.4.023136
arXiv:2103.13211
[24] Gabriel Marin-Sanchez, Javier Gonzalez-Conde, and Mikel Sanz. ``Quantum algorithms for approximate function loading''. Phys. Rev. Res. 5, 033114 (2023). arXiv:2111.07933.
https://doi.org/10.1103/PhysRevResearch.5.033114
arXiv:2111.07933
[25] Christoph Sünderhauf, Earl Campbell, and Joan Camps. ``Block-encoding structured matrices for data input in quantum computing''. Quantum 8, 1226 (2024). arXiv:2302.10949.
https://doi.org/10.22331/q-2024-01-11-1226
arXiv:2302.10949
[26] Aleksei V. Ivanov, Christoph Sünderhauf, Nicole Holzmann, Tom Ellaby, Rachel N. Kerber, Glenn Jones, and Joan Camps. ``Quantum computation for periodic solids in second quantization''. Phys. Rev. Res. 5, 013200 (2023).
https://doi.org/10.1103/PhysRevResearch.5.013200
[27] Mihir K. Bhaskar, Stuart Hadfield, Anargyros Papageorgiou, and Iasonas Petras. ``Quantum algorithms and circuits for scientific computing''. Quant. Inf. Comput. 16, 0197–0236 (2016). arXiv:1511.08253.
https://doi.org/10.26421/QIC16.3-4-2
arXiv:1511.08253
[28] Thomas Häner, Martin Roetteler, and Krysta M. Svore. ``Optimizing Quantum Circuits for Arithmetic'' (2018). arXiv:1805.12445.
arXiv:1805.12445
[29] Sam McArdle, András Gilyén, and Mario Berta. ``Quantum state preparation without coherent arithmetic'' (2022). arxiv:2210.14892.
arXiv:2210.14892
[30] Javier Gonzalez-Conde, Thomas W. Watts, Pablo Rodriguez-Grasa, and Mikel Sanz. ``Efficient quantum amplitude encoding of polynomial functions''. Quantum 8, 1297 (2024). arXiv:2307.10917.
https://doi.org/10.22331/q-2024-03-21-1297
arXiv:2307.10917
[31] András Gilyén, Yuan Su, Guang Hao Low, and Nathan Wiebe. ``Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics''. In 51st Annual ACM SIGACT Symposium on Theory of Computing. (2018). arXiv:1806.01838.
https://doi.org/10.1145/3313276.3316366
arXiv:1806.01838
[32] John M. Martyn, Zane M. Rossi, Andrew K. Tan, and Isaac L. Chuang. ``Grand Unification of Quantum Algorithms''. PRX Quantum 2, 040203 (2021). arXiv:2105.02859.
https://doi.org/10.1103/PRXQuantum.2.040203
arXiv:2105.02859
[33] Yuval R. Sanders, Dominic W. Berry, Pedro C.S. Costa, Louis W. Tessler, Nathan Wiebe, Craig Gidney, Hartmut Neven, and Ryan Babbush. ``Compilation of fault-tolerant quantum heuristics for combinatorial optimization''. PRX Quantum 1 (2020).
https://doi.org/10.1103/prxquantum.1.020312
[34] Guang Hao Low, Vadym Kliuchnikov, and Luke Schaeffer. ``Trading T-gates for dirty qubits in state preparation and unitary synthesis'' (2018). arxiv:1812.00954.
https://doi.org/10.22331/q-2024-06-17-1375
arXiv:1812.00954
[35] Craig Gidney. ``Halving the cost of quantum addition''. Quantum 2, 74 (2018).
https://doi.org/10.22331/q-2018-06-18-74
[36] Alex Bocharov, Martin Roetteler, and Krysta M. Svore. ``Efficient synthesis of universal repeat-until-success quantum circuits''. Physical Review Letters 114 (2015).
https://doi.org/10.1103/physrevlett.114.080502
[37] Christoph Sünderhauf. ``Generalized quantum singular value transformation'' (2023). arXiv:2312.00723.
arXiv:2312.00723
[38] Tanuj Khattar and Craig Gidney. ``Rise of conditionally clean ancillae for optimizing quantum circuits'' (2024). arXiv:2407.17966.
https://doi.org/10.22331/q-2025-05-21-1752
arXiv:2407.17966
[39] Junhong Nie, Wei Zi, and Xiaoming Sun. ``Quantum circuit for multi-qubit Toffoli gate with optimal resource'' (2024). arXiv:2402.05053.
arXiv:2402.05053
[40] Lloyd N. Trefethen. ``Approximation theory and approximation practice, extended edition''. Society for Industrial and Applied Mathematics. Philadelphia, PA (2019).
https://doi.org/10.1137/1.9781611975949
[41] Johannes Bausch. ``Fast Black-Box Quantum State Preparation''. Quantum 6, 773 (2022). arXiv:2009.10709.
https://doi.org/10.22331/q-2022-08-04-773
arXiv:2009.10709
[42] Yuval R. Sanders, Guang Hao Low, Artur Scherer, and Dominic W. Berry. ``Black-box quantum state preparation without arithmetic''. Phys. Rev. Lett. 122, 020502 (2019).
https://doi.org/10.1103/PhysRevLett.122.020502
[43] K. Toraichi, M. Kamada, S. Itahashi, and R. Mori. ``Window functions represented by b-spline functions''. IEEE Transactions on Acoustics, Speech, and Signal Processing 37, 145–147 (1989).
https://doi.org/10.1109/29.17517
[44] Sean Greenaway, William Pol, and Sukin Sim. ``A case study against QSVT: assessment of quantum phase estimation improved by signal processing techniques'' (2024). arXiv:2404.01396.
arXiv:2404.01396
[45] Dominic W. Berry, Yuan Su, Casper Gyurik, Robbie King, Joao Basso, Alexander Del Toro Barba, Abhishek Rajput, Nathan Wiebe, Vedran Dunjko, and Ryan Babbush. ``Analyzing Prospects for Quantum Advantage in Topological Data Analysis''. PRX Quantum 5, 010319 (2024). arXiv:2209.13581.
https://doi.org/10.1103/PRXQuantum.5.010319
arXiv:2209.13581
[46] Rajeev Acharya et al. ``Quantum error correction below the surface code threshold'' (2024). arXiv:2408.13687.
https://doi.org/10.1038/s41586-024-08449-y
arXiv:2408.13687
[47] Oliver O'Brien and Christoph Sünderhauf (2025). code: https://doi.org/10.5281/zenodo.14794185.
https://doi.org/10.5281/zenodo.14794185
[48] Jessica Lemieux, Matteo Lostaglio, Sam Pallister, William Pol, Karthik Seetharam, Sukin Sim, and Burak Şahinoğlu. ``Quantum sampling algorithms for quantum state preparation and matrix block-encoding'' (2024). arXiv:2405.11436.
arXiv:2405.11436
[49] Ryan Babbush, Dominic W. Berry, Jarrod R. McClean, and Hartmut Neven. ``Quantum simulation of chemistry with sublinear scaling in basis size''. npj Quantum Information 5 (2019).
https://doi.org/10.1038/s41534-019-0199-y
Cited by
[1] Yuki Koizumi, Kaito Wada, Wataru Mizukami, and Nobuyuki Yoshioka, "Heisenberg-limited quantum algorithms for multiple observables estimation", Physical Review A 113 2, 022447 (2026).
[2] Junpeng Hu, Shi Jin, Nana Liu, and Lei Zhang, "Quantum random feature method for solving partial differential equations", Discrete and Continuous Dynamical Systems 55, 497 (2026).
[3] Uditnarayan Kouskiya and Caglar Oskay, "A Variational Quantum Algorithm for Nonlinear Finite Element Analysis of Hyperelastic Materials", arXiv:2605.29181, (2026).
The above citations are from Crossref's cited-by service (last updated successfully 2026-08-10 02:40:49) and SAO/NASA ADS (last updated successfully 2026-08-10 02:40:51). The list may be incomplete as not all publishers provide suitable and complete citation data.
This Paper is published in Quantum under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. Copyright remains with the original copyright holders such as the authors or their institutions.