Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2210.07894 · Physical Review Research

Optimal storage capacity of quantum Hopfield neural networks

Lukas Bödeker, Eliana Fiorelli, Markus Müller

Published May 1, 2023• 10 citations
arXivHTMLPDF

Abstract

Quantum neural networks form one pillar of the emergent field of quantum machine learning. Here quantum generalizations of classical networks realizing associative memories---capable of retrieving patterns, or memories, from corrupted initial states---have been proposed. It is a challenging open problem to analyze quantum associative memories with an extensive number of patterns and to determine the maximal number of patterns the quantum networks can reliably store, i.e., their storage capacity. In this work, we propose and explore a general method for evaluating the maximal storage capacity of quantum neural network models. By generalizing what is known as Gardner's approach in the classical realm, we exploit the theory of classical spin glasses for deriving the optimal storage capacity of quantum networks with quenched pattern variables. As an example, we apply our method to an open-system quantum associative memory formed of interacting spin-1/2 particles realizing coupled artificial neurons. The system undergoes a Markovian time evolution resulting from a dissipative retrieval dynamics that competes with a coherent quantum dynamics. We map out the nonequilibrium phase diagram and study the effect of temperature and Hamiltonian dynamics on the storage capacity. Our method opens an avenue for a systematic characterization of the storage capacity of quantum associative memories.

DOI
10.1103/physrevresearch.5.023074

Related papers

Phase diagram of quantum generalized Potts-Hopfield neural networks

Eliana Fiorelli, Igor Lesanovsky, Markus Müller

Abstract We introduce and analyze an open quantum generalization of the q-state Potts-Hopfield neural network (NN), which is an associative memory model based on multi-level classical spins. The dynamics of this many-body system is formulated in terms of a Markovian master equation of Lindblad type, which allows to incorporate both probabilistic classical and coherent quantum processes on an equal footing. By employing a mean field description we investigate how classical fluctuations due to temperature and quantum fluctuations effectuated by coherent spin rotations affect the ability of the network to retrieve stored memory patterns. We construct the corresponding phase diagram, which in the low temperature regime displays pattern retrieval in analogy to the classical Potts-Hopfield NN. When increasing quantum fluctuations, however, a limit cycle phase emerges, which has no classical counterpart. This shows that quantum effects can qualitatively alter the structure of the stationary state manifold with respect to the classical model, and potentially allow one to encode and retrieve novel types of patterns.

arXiv:2109.10140•New Journal of Physics•Feb 11, 2022•17 citations

High-Capacity Quantum Associative Memories

M. C. Diamantini, Carlo A. Trugenberger

We review our models of quantum associative memories that represent the “quantization” of fully coupled neural networks like the Hopfield model. The idea is to replace the classical irreversible attractor dynamics driven by an Ising model with pattern-dependent weights by the reversible rotation of an input quantum state onto an output quantum state consisting of a linear superposition with probability amplitudes peaked on the stored pattern closest to the input in Hamming distance, resulting in a high probability of measuring a memory pattern very similar to the input. The unitary operator implementing this transformation can be formulated as a sequence of one-qubit and two-qubit elementary quantum gates and is thus the exponential of an ordered quantum Ising model with sequential operations and with pattern-dependent interactions, exactly as in the classical case. Probabilistic quantum memories, that make use of postselection of the measurement result of control qubits, overcome the famed linear storage limitation of their classical counterparts because they permit to completely eliminate crosstalk and spurious memories. The number of control qubits plays the role of an inverse fictitious temperature. The accuracy of pattern retrieval can be tuned by lowering the fictitious temperature under a critical value for quantum content association while the complexity of the retrieval algorithm remains polynomial for any number of patterns polynomial in the number of qubits. These models thus solve the capacity shortage problem of classical associative memories, providing a polynomial improvement in capacity. The price to pay is the probabilistic nature of information retrieval.

arXiv:1506.01231•Journal of Applied Mathematics and Physics•Jan 1, 2016•8 citations

Storage capacity and learning capability of quantum neural networks

Maciej Lewenstein, Aikaterini Gratsea, Andreu Riera-Campeny +3 more

Abstract We study the storage capacity of quantum neural networks (QNNs), described by completely positive trace preserving (CPTP) maps acting on an N-dimensional Hilbert space. We demonstrate that attractor QNNs can store in a non-trivial manner up to N linearly independent pure states. For n qubits, QNNs can reach an exponential storage capacity, O ( 2 n ) , clearly outperforming standard classical neural networks whose storage capacity scales linearly with the number of neurons n. We estimate, employing the Gardner program, the relative volume of CPTP maps with M ⩽ N stationary states and show that this volume decreases exponentially with M and shrinks to zero for M ⩾ N + 1. We generalize our results to QNNs storing mixed states as well as input–output relations for feed-forward QNNs. Our approach opens the path to relate storage properties of QNNs to the quantum features of the input–output states. This paper is dedicated to the memory of Peter Wittek.

arXiv:2011.06113•Quantum Science and Technology•Jun 1, 2021•26 citations

Comparing Classical Hopfield Networks and a Hybrid Quantum-Classical Associative Memory Model: Recall Accuracy, Noise Robustness, and Storage Capacity

Sanjay Shivaganesh

Associative memory, the ability to reconstruct complete information from partial or noisy cues, is a defining feature of human cognition and an enduring objective in artificial intelligence. Classical neural models such as Hopfield networks have long provided insight into distributed storage and retrieval mechanisms, yet they remain constrained by limited storage capacity and susceptibility to noise. Recent developments in quantum computing have motivated investigation of hybrid quantum-classical architectures as alternative approaches to memory representation and retrieval. This study examines how effectively hybrid quantum-classical models can reproduce associative memory functions compared to Hopfield networks, with a particular focus on recall accuracy under varying noise levels, storage capacity, and computational efficiency. Through small-scale experiments using binary patterns and hybrid quantum circuits, we evaluate potential quantum advantages and practical trade-offs. The findings contribute to ongoing discourse in quantum machine learning and cognitive modeling, underscoring both the promise and current limitations of quantum-inspired associative memory systems. Our guiding research question is: To what extent can hybrid quantum–classical models replicate associative memory functions more effectively than classical neural memory models, particularly in terms of recall accuracy under noise and storage capacity?

•Sep 14, 2026•0 citations

Open quantum generalisation of Hopfield neural networks

P Rotondo, M Marcuzzi, J P Garrahan +2 more

Abstract We propose a new framework to understand how quantum effects may impact on the dynamics of neural networks. We implement the dynamics of neural networks in terms of Markovian open quantum systems, which allows us to treat thermal and quantum coherent effects on the same footing. In particular, we propose an open quantum generalisation of the Hopfield neural network, the simplest toy model of associative memory. We determine its phase diagram and show that quantum fluctuations give rise to a qualitatively new non-equilibrium phase. This novel phase is characterised by limit cycles corresponding to high-dimensional stationary manifolds that may be regarded as a generalisation of storage patterns to the quantum domain.

arXiv:1701.01727•Journal of Physics A Mathematical and Theoretical•Feb 14, 2018•50 citations

Signatures of associative memory behavior in open quantum systems

Eliana Fiorelli

Nowadays, the research field of Machine Learning (ML) is undergoing a rapid expansion. In addition, in the last decades, within the research area of quantum computation, several quantum protocols and algorithms have shown the ability to outperform their classical counterparts. In the light of these twofold advances, a frontier field investigating the potentiality of quantum implementations of ML architectures arose. Among the latter, many efforts are concentrated on Artificial Neural Networks (ANNs), which represent a highly successful ML architecture. This thesis focuses on characterizing and understanding the role of quantum effects on the behavior of an instance of ANN, the so-called Hopfield Neural Network (HNN). The HNN is an example of an associative memory model and it permits the recognition, or retrieval, of patterns, such as letters of an alphabet. Formally, it can be described in terms of a classical spin network with an all-to-all interaction, ruled by a stochastic dynamics. Its relatively intuitive behavior, and its physical description make the HNN being a good candidate for a theoretical investigation of its possible quantum generalizations. In the first part of our work we deal with the implementation of fully connected Ising models, such as the HNN one, in terms of quantum systems. To this end, we refer to the cases where the theory of Open Quantum System (OQS) is exploited for engineering steady states of out-of-equilibrium dynamics. This paradigm allows us to build a dissipative - yet quantum - dynamics which encodes in its stationary state the thermal state of the original (classical) problem. Such a construction gives us the chance to address the question as to whether the quantum description could lead to a speed-up in reaching the shared stationary state with respect to the classical counterpart. We show that a suitable choice of the parameters allows the system to switch between a classical regime and a quantum one, the latter being characterized by an accelerated approach towards the long-time limit state. In the second part of our work we focus on practically relevant implementations of quantum systems that can show analogies with the HNN model. To this end, we consider spin-boson models as described by the Dicke Hamiltonian. Indeed, at strong spin-boson interaction couplings, and when the latter are additionally characterized by disorder, the equilibrium Dicke model is able to reproduce the retrieval mechanism typical of HNNs. When dissipation is included, the theoretical description becomes more challenging. We analyze the open, disordered Dicke model by employing some perturbative techniques in order to deal with the out-of-equilibrium dynamics at strong coupling. As a result, we are able to highlight similarities and differences between the quantum model and HNNs.

•Dec 11, 2020•0 citations
Quantum neural networks form one pillar of the emergent field of quantum machine learning. Here quantum generalizations of classical networks realizing associative memories---capable of retrieving patterns, or memories, from corrupted initial states---have been proposed. It is a challenging open problem to analyze quantum associative memories with an extensive number of patterns and to determine the maximal number of patterns the quantum networks can reliably store, i.e., their storage capacity. In this work, we propose and explore a general method for evaluating the maximal storage capacity of quantum neural network models. By generalizing what is known as Gardner's approach in the classical realm, we exploit the theory of classical spin glasses for deriving the optimal storage capacity of quantum networks with quenched pattern variables. As an example, we apply our method to an open-system quantum associative memory formed of interacting spin-1/2 particles realizing coupled artificial neurons. The system undergoes a Markovian time evolution resulting from a dissipative retrieval dynamics that competes with a coherent quantum dynamics. We map out the nonequilibrium phase diagram and study the effect of temperature and Hamiltonian dynamics on the storage capacity. Our method opens an avenue for a systematic characterization of the storage capacity of quantum associative memories.
Abstract We introduce and analyze an open quantum generalization of the q-state Potts-Hopfield neural network (NN), which is an associative memory model based on multi-level classical spins. The dynamics of this many-body system is formulated in terms of a Markovian master equation of Lindblad type, which allows to incorporate both probabilistic classical and coherent quantum processes on an equal footing. By employing a mean field description we investigate how classical fluctuations due to temperature and quantum fluctuations effectuated by coherent spin rotations affect the ability of the network to retrieve stored memory patterns. We construct the corresponding phase diagram, which in the low temperature regime displays pattern retrieval in analogy to the classical Potts-Hopfield NN. When increasing quantum fluctuations, however, a limit cycle phase emerges, which has no classical counterpart. This shows that quantum effects can qualitatively alter the structure of the stationary state manifold with respect to the classical model, and potentially allow one to encode and retrieve novel types of patterns.
We review our models of quantum associative memories that represent the “quantization” of fully coupled neural networks like the Hopfield model. The idea is to replace the classical irreversible attractor dynamics driven by an Ising model with pattern-dependent weights by the reversible rotation of an input quantum state onto an output quantum state consisting of a linear superposition with probability amplitudes peaked on the stored pattern closest to the input in Hamming distance, resulting in a high probability of measuring a memory pattern very similar to the input. The unitary operator implementing this transformation can be formulated as a sequence of one-qubit and two-qubit elementary quantum gates and is thus the exponential of an ordered quantum Ising model with sequential operations and with pattern-dependent interactions, exactly as in the classical case. Probabilistic quantum memories, that make use of postselection of the measurement result of control qubits, overcome the famed linear storage limitation of their classical counterparts because they permit to completely eliminate crosstalk and spurious memories. The number of control qubits plays the role of an inverse fictitious temperature. The accuracy of pattern retrieval can be tuned by lowering the fictitious temperature under a critical value for quantum content association while the complexity of the retrieval algorithm remains polynomial for any number of patterns polynomial in the number of qubits. These models thus solve the capacity shortage problem of classical associative memories, providing a polynomial improvement in capacity. The price to pay is the probabilistic nature of information retrieval.
Abstract We study the storage capacity of quantum neural networks (QNNs), described by completely positive trace preserving (CPTP) maps acting on an N-dimensional Hilbert space. We demonstrate that attractor QNNs can store in a non-trivial manner up to N linearly independent pure states. For n qubits, QNNs can reach an exponential storage capacity, O ( 2 n ) , clearly outperforming standard classical neural networks whose storage capacity scales linearly with the number of neurons n. We estimate, employing the Gardner program, the relative volume of CPTP maps with M ⩽ N stationary states and show that this volume decreases exponentially with M and shrinks to zero for M ⩾ N + 1. We generalize our results to QNNs storing mixed states as well as input–output relations for feed-forward QNNs. Our approach opens the path to relate storage properties of QNNs to the quantum features of the input–output states. This paper is dedicated to the memory of Peter Wittek.
Associative memory, the ability to reconstruct complete information from partial or noisy cues, is a defining feature of human cognition and an enduring objective in artificial intelligence. Classical neural models such as Hopfield networks have long provided insight into distributed storage and retrieval mechanisms, yet they remain constrained by limited storage capacity and susceptibility to noise. Recent developments in quantum computing have motivated investigation of hybrid quantum-classical architectures as alternative approaches to memory representation and retrieval. This study examines how effectively hybrid quantum-classical models can reproduce associative memory functions compared to Hopfield networks, with a particular focus on recall accuracy under varying noise levels, storage capacity, and computational efficiency. Through small-scale experiments using binary patterns and hybrid quantum circuits, we evaluate potential quantum advantages and practical trade-offs. The findings contribute to ongoing discourse in quantum machine learning and cognitive modeling, underscoring both the promise and current limitations of quantum-inspired associative memory systems. Our guiding research question is: To what extent can hybrid quantum–classical models replicate associative memory functions more effectively than classical neural memory models, particularly in terms of recall accuracy under noise and storage capacity?
Abstract We propose a new framework to understand how quantum effects may impact on the dynamics of neural networks. We implement the dynamics of neural networks in terms of Markovian open quantum systems, which allows us to treat thermal and quantum coherent effects on the same footing. In particular, we propose an open quantum generalisation of the Hopfield neural network, the simplest toy model of associative memory. We determine its phase diagram and show that quantum fluctuations give rise to a qualitatively new non-equilibrium phase. This novel phase is characterised by limit cycles corresponding to high-dimensional stationary manifolds that may be regarded as a generalisation of storage patterns to the quantum domain.
Nowadays, the research field of Machine Learning (ML) is undergoing a rapid expansion. In addition, in the last decades, within the research area of quantum computation, several quantum protocols and algorithms have shown the ability to outperform their classical counterparts. In the light of these twofold advances, a frontier field investigating the potentiality of quantum implementations of ML architectures arose. Among the latter, many efforts are concentrated on Artificial Neural Networks (ANNs), which represent a highly successful ML architecture. This thesis focuses on characterizing and understanding the role of quantum effects on the behavior of an instance of ANN, the so-called Hopfield Neural Network (HNN). The HNN is an example of an associative memory model and it permits the recognition, or retrieval, of patterns, such as letters of an alphabet. Formally, it can be described in terms of a classical spin network with an all-to-all interaction, ruled by a stochastic dynamics. Its relatively intuitive behavior, and its physical description make the HNN being a good candidate for a theoretical investigation of its possible quantum generalizations. In the first part of our work we deal with the implementation of fully connected Ising models, such as the HNN one, in terms of quantum systems. To this end, we refer to the cases where the theory of Open Quantum System (OQS) is exploited for engineering steady states of out-of-equilibrium dynamics. This paradigm allows us to build a dissipative - yet quantum - dynamics which encodes in its stationary state the thermal state of the original (classical) problem. Such a construction gives us the chance to address the question as to whether the quantum description could lead to a speed-up in reaching the shared stationary state with respect to the classical counterpart. We show that a suitable choice of the parameters allows the system to switch between a classical regime and a quantum one, the latter being characterized by an accelerated approach towards the long-time limit state. In the second part of our work we focus on practically relevant implementations of quantum systems that can show analogies with the HNN model. To this end, we consider spin-boson models as described by the Dicke Hamiltonian. Indeed, at strong spin-boson interaction couplings, and when the latter are additionally characterized by disorder, the equilibrium Dicke model is able to reproduce the retrieval mechanism typical of HNNs. When dissipation is included, the theoretical description becomes more challenging. We analyze the open, disordered Dicke model by employing some perturbative techniques in order to deal with the out-of-equilibrium dynamics at strong coupling. As a result, we are able to highlight similarities and differences between the quantum model and HNNs.