- Open Access
Demonstration of hardware efficient photonic variational quantum algorithm
Phys. Rev. Research 7, 043021 – Published 8 October, 2025
DOI: https://doi.org/10.1103/d7bb-ybfh
Abstract
Quantum computing has changed the paradigm of computer science, where quantum technologies have promised to outperform classical ones. Such an advantage was only demonstrated for tasks with no application or out of reach for the state-of-the-art quantum technologies. In this context, a promising strategy to find practical use of quantum computers exploits hybrid models, where a quantum device estimates a hard-to-compute quantity, while a classical optimizer trains the parameters. In this work, we demonstrate that single photons and linear optical networks are sufficient for implementing variational quantum algorithms, when the problem specification (ansatz) is tailored to this specific platform. We show this by a proof-of-principle demonstration to tackle an instance of a factorization task, whose solution is encoded in the ground state of a suitable Hamiltonian. This work, which combines Variational Quantum Algorithms with hardware efficient ansätze for linear optics, showcases a promising pathway toward practical applications for photonic quantum platforms.
Physics Subject Headings (PhySH)
Article Text
Supplemental Material
References (50)
- T. Ayral, P. Besserve, D. Lacroix, and E. A. Ruiz Guzman, Quantum computing with and for many-body physics, Eur. Phys. J. A 59, 227 (2023).
- S. McArdle, S. Endo, A. Aspuru-Guzik, S. C. Benjamin, and X. Yuan, Quantum computational chemistry, Rev. Mod. Phys. 92, 015003 (2020).
- D. Herman et al., Quantum computing for finance, Nat. Rev. Phys. 5, 450 (2023).
- T. M. Fernández-Caramès and P. Fraga-Lamas, Towards post-quantum blockchain: A review on blockchain cryptography resistant to quantum computing attacks, IEEE Access 8, 21091 (2020).
- T. Albash and D. A. Lidar, Adiabatic quantum computation, Rev. Mod. Phys. 90, 015002 (2018).
- M. Cerezo et al., Variational quantum algorithms, Nat. Rev. Phys. 3, 625 (2021).
- A. Messiah, Quantum Mechanics (Courier Corporation, Mineola, NY, 2014).
- W. R. Clements, P. C. Humphreys, B. J. Metcalf, W. S. Kolthammer, and I. A. Walmsley, Optimal design for universal multiport interferometers, Optica 3, 1460 (2016).
- K. Blekos et al., A review on quantum approximate optimization algorithm and its variants, Phys. Rep. 1068, 1 (2024).
- J. Tilly et al., The variational quantum eigensolver: A review of methods and best practices, Phys. Rep. 986, 1 (2022).
- Y. Cao et al., Quantum chemistry in the age of quantum computing, Chem. Rev. 119, 10856 (2019).
- S. Brandhofer et al., Benchmarking the performance of portfolio optimization with QAOA, Quantum Inf. Proc. 22, 25 (2022).
- P. K. Barkoutsos, G. Nannicini, A. Robert, I. Tavernelli, and S. Woerner, Improving variational quantum optimization using CVaR, Quantum 4, 256 (2020).
- S. Fernández-Lorenzo, D. Porras, and J. J. García-Ripoll, Hybrid quantum–classical optimization with cardinality constraints and applications to finance, Quantum Sci. Technol. 6, 034010 (2021).
- N. N. Hegade et al., Portfolio optimization with digitized counterdiabatic quantum algorithms, Phys. Rev. Res. 4, 043204 (2022).
- L. Zhu et al., Adaptive quantum approximate optimization algorithm for solving combinatorial problems on a quantum computer, Phys. Rev. Res. 4, 033029 (2022).
- Y.-H. Oh et al., Solving multi-coloring combinatorial optimization problems using hybrid quantum algorithms, arXiv:1911.00595.
- Z. Zhou, Y. Du, X. Tian, and D. Tao, QAOA-in-QAOA: Solving large-scale MaxCut problems on small quantum machines, Phys. Rev. Appl. 19, 024027 (2023).
- P. Shor, Algorithms for quantum computation: Discrete logarithms and factoring, in Proceedings of the 35th Annual Symposium on Foundations of Computer Science (IEEE, Santa Fe, NM, 1994).
- S. Jiang, K. A. Britt, A. J. McCaskey, T. S. Humble, and S. Kais, Quantum annealing for prime factorization, Sci. Rep. 8, 17667 (2018).
- X. Peng et al., Quantum adiabatic algorithm for factorization and its experimental implementation, Phys. Rev. Lett. 101, 220405 (2008).
- N. N. Hegade, K. Paul, F. Albarrán-Arriagada, X. Chen, and E. Solano, Digitized adiabatic quantum factorization, Phys. Rev. A 104, L050403 (2021).
- A. H. Karamlou et al., Analyzing the performance of variational quantum factoring on a superconducting quantum processor, npj Quantum Inf. 7, 156 (2021).
- B. Yan et al., Factoring integers with sublinear resources on a superconducting quantum processor, arXiv:2212.12372.
- K. Bharti et al., Noisy intermediate-scale quantum algorithms, Rev. Mod. Phys. 94, 015004 (2022).
- H.-S. Zhong et al., Quantum computational advantage using photons, Science 370, 1460 (2020).
- L. S. Madsen et al., Quantum computational advantage with a programmable photonic processor, Nature (London) 606, 75 (2022).
- A. Peruzzo et al., A variational eigenvalue solver on a photonic quantum processor, Nat. Commun. 5, 4213 (2014).
- D. Lee et al., Error-mitigated photonic variational quantum eigensolver using a single-photon ququart, Optica 9, 88 (2022).
- V. Cimini et al., Variational quantum algorithm for experimental photonic multiparameter estimation, npj Quantum Inf. 10, 26 (2024).
- A. Kandala et al., Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets, Nature (London) 549, 242 (2017).
- M. Benedetti, M. Fiorentini, and M. Lubasch, Hardware-efficient variational quantum algorithms for time evolution, Phys. Rev. Res. 3, 033083 (2021).
- L. Leone, S. F. E. Oliviero, L. Cincio, and M. Cerezo, On the practical usefulness of the hardware efficient ansatz, Quantum 8, 1395 (2024).
- See Supplemental Material at http://link.aps.org/supplemental/10.1103/d7bb-ybfh for additional details concerning the experimental implementation and the data analysis, supporting the findings reported in the paper.
- G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers (Oxford University Press, Oxford, 1979).
- M. Amico, Z. H. Saleem, and M. Kumph, Experimental study of Shor’s factoring algorithm using the IBM Q Experience, Phys. Rev. A 100, 012305 (2019).
- G. Corrielli, A. Crespi, and R. Osellame, Femtosecond laser micromachining for integrated quantum photonics, Nanophotonics 10, 3789 (2021).
- C. Pentangelo et al., High-fidelity and polarization-insensitive universal photonic processors fabricated by femtosecond laser writing, Nanophotonics 13, 2259 (2024).
- D.-J. Zhang, X.-D. Yu, and D. Tong, Theorem on the existence of a nonzero energy gap in adiabatic quantum computation, Phys. Rev. A 90, 042321 (2014).
- B. Yan et al., Adiabatic quantum algorithm for factorization with growing minimum energy gap, Quantum Eng. 3, e59 (2021).
- U. Skosana and M. Tame, Demonstration of Shor’s factoring algorithm for N = 21 on IBM quantum processors, Sci. Rep. 11, 16599 (2021).
- P. J. O'Malley et al., Scalable quantum simulation of molecular energies, Phys. Rev. X 6, 031007 (2016).
- E. Farhi, J. Goldstone, and S. Gutmann, A quantum approximate optimization algorithm, arXiv:1411.4028.
- E. Knill, R. Laflamme, and G. J. Milburn, A scheme for efficient quantum computation with linear optics, Nature (London) 409, 46 (2001).
- L. Innocenti et al., Potential and limitations of quantum extreme learning machines, Commun. Phys. 6, 118 (2023).
- M. Spagnolo et al., Experimental photonic quantum memristor, Nat. Photonics 16, 318 (2022).
- L. Govia, G. Ribeill, G. Rowlands, and T. Ohki, Nonlinear input transformations are ubiquitous in quantum reservoir computing, Neuromorphic Comput. Eng. 2, 014008 (2022).
- R. Hamerly, L. Bernstein, A. Sludds, M. Soljačić, and D. Englund, Large-scale optical neural networks based on photoelectric multiplication, Phys. Rev. X 9, 021032 (2019).
- https://www.polifab.polimi.it/.
- https://doi.org/10.5281/zenodo.15838155.