- Open Access
Multiphoton Quantum Simulation of the Generalized Hopfield Memory Model
Phys. Rev. Lett. 136, 070602 – Published 18 February, 2026
DOI: https://doi.org/10.1103/945c-11wt
Abstract
In the present Letter, we introduce, develop, and investigate a connection between multiphoton quantum interference, a core element of emerging photonic quantum technologies, and Hopfield-like Hamiltonians of classical neural networks, the paradigmatic models for associative memory and machine learning in systems of artificial intelligence. Specifically, we show that combining a system composed of indistinguishable photons in superposition over field modes, a controlled array of binary phase shifters, and a linear-optical interferometer, yields output photon statistics described by means of a -body Hopfield Hamiltonian of Ising-like neurons , with . We investigate in detail the generalized four-body Hopfield model obtained through this procedure, undergoing a transition from a memory retrieval to a memory black-out regime, i.e., a spin-glass phase, as the amount of stored memory increases. The mapping enables novel routes to the realization and investigation of disordered and complex classical systems via efficient photonic quantum simulators and describes aspects of structured photonic systems in terms of classical spin Hamiltonians.
Physics Subject Headings (PhySH)
Article Text
Supplemental Material
References (60)
- E. Knill, R. Laflamme, and G. J. Milburn, A scheme for efficient quantum computation with linear optics, Nature (London) 409, 46 (2001).
- M. Gimeno-Segovia, P. Shadbolt, D. E. Browne, and T. Rudolph, From three-photon Greenberger-Horne-Zeilinger states to ballistic universal quantum computation, Phys. Rev. Lett. 115, 020502 (2015).
- S. Bartolucci, P. Birchall, H. Bombin, H. Cable, C. Dawson, M. Gimeno-Segovia, E. Johnston, K. Kieling, N. Nickerson, M. Pant et al., Fusion-based quantum computation, Nat. Commun. 14, 912 (2023).
- S. Aaronson and A. Arkhipov, Boson sampling is far from uniform, Quantum Inf. Comput. 14, 1383 (2014).
- S. Pirandola, B. R. Bardhan, T. Gehring, C. Weedbrook, and S. Lloyd, Advances in photonic quantum sensing, Nat. Photonics 12, 724 (2018).
- H.-S. Zhong, H. Wang, Y.-H. Deng, M.-C. Chen, L.-C. Peng, Y.-H. Luo, J. Qin, D. Wu, X. Ding, Y. Hu et al., Quantum computational advantage using photons, Science 370, 1460 (2020).
- L. S. Madsen, F. Laudenbach, M. F. Askarani, F. Rortais, T. Vincent, J. F. Bulmer, F. M. Miatto, L. Neuhaus, L. G. Helt, M. J. Collins et al., Quantum computational advantage with a programmable photonic processor, Nature (London) 606, 75 (2022).
- A. Aspuru-Guzik and P. Walther, Photonic quantum simulators, Nat. Phys. 8, 285 (2012).
- L. Sansoni, F. Sciarrino, G. Vallone, P. Mataloni, A. Crespi, R. Ramponi, and R. Osellame, Two-particle bosonic-fermionic quantum walk via integrated photonics, Phys. Rev. Lett. 108, 010502 (2012).
- C. Aghamohammadi, J. R. Mahoney, and J. P. Crutchfield, Extreme quantum advantage when simulating classical systems with long-range interaction, Sci. Rep. 7, 6735 (2017).
- B. P. Marsh, Y. Guo, R. M. Kroeze, S. Gopalakrishnan, S. Ganguli, J. Keeling, and B. L. Lev, Enhancing associative memory recall and storage capacity using confocal cavity QED, Phys. Rev. X 11, 021048 (2021).
- P. Peretto and J. Niez, Long term memory storage capacity of multiconnected neural networks, Biol. Cybern. 54, 53–63 (1986).
- P. Baldi and S. S. Venkatesh, Number of stable points for spin-glasses and neural networks of higher order, Phys. Rev. Lett. 58, 913 (1987).
- E. Gardner, Multiconnected neural network models, J. Phys. A 20, 3453 (1987).
- L. Abbott and Y. Arian, Storage capacity of generalized networks, Phys. Rev. A 36, 5091 (1987).
- D. Horn and M. Usher, Capacity of multiconnected memory models, J. Phys. France 49, 389 (1988).
- D. Krotov and J. J. Hopfield, Dense associative memory for pattern recognition, Adv. Neural Inf. Process. Syst. 29 (2016).
- H. Ramsauer, B. Schäfl, J. Lehner, P. Seidl, M. Widrich, T. Adler, L. Gruber, M. Holzleitner, M. Pavlović, G. K. Sandve, V. Greiff, D. Kreil, M. Kopp, G. Klambauer, J. Brandstetter, and S. Hochreiter, Hopfield networks are all you need, arXiv:2008.02217.
- J. J. Hopfield, Neural networks and physical systems with emergent collective computational abilities, Proc. Natl. Acad. Sci. U.S.A. 79, 2554 (1982).
- D. J. Amit, Modelling Brain Functions (Cambridge University Press, Cambridge, England, 1989).
- B. Müller, J. Reinhardt, and M. T. Strickland, Neural Networks: An Introduction (Springer Science & Business Media, New York, 1995).
- J. Hertz, A. Krogh, and R. G. Palmer, Introduction to the Theory of Neural Computation (CRC Press, Boca Raton, 2018).
- G. E. Hinton and R. R. Salakhutdinov, Reducing the dimensionality of data with neural networks, Science 313, 504 (2006).
- G. E. Hinton, Learning multiple layers of representation., Trends Cognit. Sci. 11, 428 (2007).
- N. H. Farhat, D. Psaltis, A. Prata, and E. Paek, Optical implementation of the Hopfield model, Appl. Opt. 24, 1469 (1985).
- M. Leonetti, E. Hörmann, L. Leuzzi, G. Parisi, and G. Ruocco, Optical computation of a spin glass dynamics with tunable complexity, Proc. Natl. Acad. Sci. U.S.A. 118, e2015207118 (2021).
- M. Leonetti, G. Gosti, and G. Ruocco, Photonic stochastic emergent storage for deep classification by scattering-intrinsic patterns, Nat. Commun. 15, 505 (2024).
- See Supplemental Material at http://link.aps.org/supplemental/10.1103/945c-11wt in the “Experimental realization proposal” section we describe tro possible platforms (free space or integrated optics) capable to support the experiment.
- D. Hebb, The Organization of Behavior (Wiley, New York, 1949).
- M. Reck, A. Zeilinger, H. J. Bernstein, and P. Bertani, Experimental realization of any discrete unitary operator, Phys. Rev. Lett. 73, 58 (1994).
- 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).
- C. Sparrow, E. Martín-López, N. Maraviglia, A. Neville, C. Harrold, J. Carolan, Y. N. Joglekar, T. Hashimoto, N. Matsuda, J. L. O’Brien et al., Simulating the vibrational quantum dynamics of molecules using photonics, Nature (London) 557, 660 (2018).
- Z. Fan, J. Lin, J. Dai, T. Zhang, and K. Xu, Photonic Hopfield neural network for the Ising problem, Opt. Express 31, 21340 (2023).
- D. Pierangeli, G. Marcucci, and C. Conti, Large-scale photonic Ising machine by spatial light modulation, Phys. Rev. Lett. 122, 213902 (2019).
- S. Scheel, Permanents in linear optical networks, arXiv:quant-ph/0406127 (2004).
- A. Crespi, R. Osellame, R. Ramponi, M. Bentivegna, F. Flamini, N. Spagnolo, N. Viggianiello, L. Innocenti, P. Mataloni, and F. Sciarrino, Suppression law of quantum states in a 3D photonic fast Fourier transform chip, Nat. Commun. 7, 10469 (2016).
- Y. Wang, C. F. Faurby, F. Ruf, P. I. Sund, K. Nielsen, N. Volet, M. J. Heck, N. Bart, A. D. Wieck, A. Ludwig et al., Deterministic photon source interfaced with a programmable silicon-nitride integrated circuit, npj Quantum Inf. 9, 94 (2023).
- N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H. Teller, and E. Teller, Equation of state calculations by fast computing machines, J. Chem. Phys. 21, 1087 (1953).
- F. Wolfgramm, X. Xing, A. Cerè, A. Predojević, A. Steinberg, and M. Mitchell, Bright filter-free source of indistinguishable photon pairs, Opt. Express 16, 18145 (2008).
- D. Weninger, S. Serna, L. Ranno, L. Kimerling, and A. Agarwal, Low loss chip-to-chip couplers for high-density co-packaged optics, Adv. Eng. Mater. 27, 2402095 (2025).
- C. Oh, Recent theoretical and experimental progress on boson sampling, Curr. Opt. Photonics 9, 1 (2025).
- H. Wang, J. Qin, X. Ding, M.-C. Chen, S. Chen, X. You, Y.-M. He, X. Jiang, L. You, Z. Wang et al., Boson sampling with 20 input photons and a 60-mode interferometer in a 1014-dimensional Hilbert space, Phys. Rev. Lett. 123, 250503 (2019).
- K. Alexander, A. Bahgat, A. Benyamini, D. Black, D. Bonneau, S. Burgos, B. Burridge, G. Campbell, G. Catalano, A. Ceballos et al., A manufacturable platform for photonic quantum computing, Nature (London) 641, 876 (2025).
- L. Ginés, M. Moczała-Dusanowska, D. Dlaka, R. Hošák, J. R. Gonzales-Ureta, J. Lee, M. Ježek, E. Harbord, R. Oulton, S. Höfling et al., High extraction efficiency source of photon pairs based on a quantum dot embedded in a broadband micropillar cavity, Phys. Rev. Lett. 129, 033601 (2022).
- J. Zhang, K. Guo, M. Gao, Y. Gao, and J. Yang, Design of polarization-insensitive high-visibility silicon-on-insulator quantum interferometer, Sci. Rep. 8, 14613 (2018).
- M. Zhang, C. Wang, P. Kharel, D. Zhu, and M. Lončar, Integrated lithium niobate electro-optic modulators: When performance meets scalability, Optica 8, 652 (2021).
- F. Caltagirone, U. Ferrari, L. Leuzzi, G. Parisi, F. Ricci-Tersenghi, and T. Rizzo, Critical slowing down exponents of mode coupling theory, Phys. Rev. Lett. 108, 085702 (2012).
- F. Caltagirone, U. Ferrari, L. Leuzzi, G. Parisi, and T. Rizzo, Critical slowing down exponents in structural glasses: Random orthogonal and related models, Phys. Rev. B 86, 064204 (2012).
- L. Leuzzi and T. Rizzo, Logarithmic critical slowing down in complex systems: From statics to dynamics, Phys. Rev. B 109, 174211 (2024).
This is at difference with standard generalized -spin Hopfield models with stored memory patterns and neurons in which, though with different prefactors in the model definitions [14, 15, 16], the scaling is always .
- D. J. Amit, H. Gutfreund, and H. Sompolinsky, Storing infinite numbers of patterns in a spin-glass model of neural networks, Phys. Rev. Lett. 55, 1530 (1985).
- K. Hukushima and K. Nemoto, Exchange Monte Carlo method and application to spin glass simulations, J. Phys. Soc. Jpn. 65, 1604 (1996).
- M. V. M. Mezárd and G. Parisi, Spin Glass Theory and Beyond, An Introduction to the Replica Method and Its Applications (World Scientific, Singapore, 1987).
- J. A. Mydosh, Spin Glasses, An Experimental Introduction (CRC Press, Boca Raton, 1993).
- E. Agliari, F. Alemanno, A. Barra, M. Centonze, and A. Fachechi, Neural networks with a redundant representation: Detecting the undetectable, Phys. Rev. Lett. 124, 028301 (2020).
- R. Thériault and D. Tantari, Dense Hopfield networks in the teacher-student setting, SciPost Phys. 17, 040 (2024).
- A. Fachechi, E. Agliari, and A. Barra, Dreaming neural networks: Forgetting spurious memories and reinforcing pure ones, Neural Netw. 112, 24 (2019).
- L. Leuzzi, A. Patti, and F. Ricci-Tersenghi, A quantitative analysis of a generalized Hopfield model that stores and retrieves mismatched memory patterns, J. Stat. Mech. (2022) 073301.
- E. Agliari, A. Alessandrelli, A. Barra, and F. Ricci-Tersenghi, Parallel learning by multitasking neural networks, J. Stat. Mech. (2023) 113401.
- E. Agliari, A. Alessandrelli, A. Barra, M. S. Centonze, and F. Ricci-Tersenghi, Generalized hetero-associative neural networks, J. Stat. Mech. (2025) 013302.