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:2611.21941 · Discover Quantum Science

Complexity and precision in quantum associative retrieval

Carlo A. Trugenberger

quant-phcs.CCcs.IRcs.NESubmitted Nov 16, 2026• Announced Nov 18, 2026• 0 citations
arXivHTMLPDF

Abstract

We show that efficient and high-precision quantum associative retrieval is possible with an exponential complexity advantage with respect to the classical brute force approach and with a polynomial capacity advantage with respect to classical neural network implementations for any number of patterns scaling polynomially in the number of qubits. Both classical neural and quantum associative memories store the patterns in a Hamiltonian; in the classical case the dynamics is irreversible relaxation toward attractors, in the quantum case it is unitary transformations generating an effective thermal distribution, followed by a measurement.

AI Summary

The paper studies the precision–retrieval-cost trade-off in a quantum associative memory: given stored binary patterns and a query, sample a stored pattern close in Hamming distance. It analyzes a distance-dependent filtering algorithm, followed by amplitude amplification, starting from a uniform superposition of $p$ patterns on $n$ qubits. With $b$ control qubits, the conditional output distribution is $P_b(x)\propto\cos^{2b}[\pi d_H(i,x)/(2n)]$, equivalently a Boltzmann distribution with inverse temperature $b$. The filtering circuit uses $O(nb)$ gates. For independent uniformly random pattern bits, the paper estimates retrieval cost as $O(nb\,2^{b/2})$. Outputs remain restricted to stored patterns, excluding spurious memories. Using binomial concentration and extreme-distance estimates, the analysis finds that, for $p=n^k$ and an exact-match target, distractor weight scales approximately as $n^k2^{-b}$. Setting $b=B\log_2 n$ suppresses this weight for $B>k$; the paper identifies $B/2<k<B$ as its precision–speed-up regime relative to brute-force lookup. For a target corrupted at rate $\rho<1/2$, logarithmic $b$ still suffices, with relative distractor weight approximately $n^k/[2\cos^2(\pi\rho/2)]^b$. For exponentially many random patterns, the analysis requires $b=\Theta(n)$, yielding exponential retrieval cost. The resource model excludes construction and physical size of pattern-dependent hardware, assuming constant-cost single-pass photonic state preparation; circuit preparation instead costs $O(np)$. Precision guarantees concern random-pattern benchmarks rather than arbitrary databases. Comparisons with modern Hopfield networks require additional hardware-resource accounting. Error correction and improved filtering architectures are left outside the analysis.

Little sign of AI-generated textOverclaimsMissing comparisonStrong assumptionsPossible error

Central claim may not hold: For polynomially many patterns, the displayed classical and quantum costs differ only polynomially, so they do not establish the abstract's exponential speedup. In the exact-target, high-precision regime, the target dominates the normalization and forces Theta(sqrt(p)) amplification iterations, invalidating the claimed p-independent complexity estimate. The precision guarantee concerns a planted target among random distractors, not arbitrary nearest-pattern retrieval, and logarithmically many controls cannot reliably distinguish distances n/2 and n/2+1. The complexity advantage assumes effectively constant-cost access to preconstructed pattern-dependent hardware, while the capacity comparison is established only against standard pairwise Hopfield networks rather than classical neural networks generally. The gate U specified in (q) makes decomposition (t) implement a phase evolution four times larger than the one required for the subsequent cosine filter.

Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.

Journal reference
Discover Quantum Science 2:47 (2026)
DOI
10.1007/s44464-026-00051-7

Related papers

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•11 citations

Theoretical framework for quantum associative memories

Adrià Labay-Mora, Eliana Fiorelli, Roberta Zambrini +1 more

Associative memory (AM) refers to the ability to relate a memory with an input and targets the restoration of corrupted patterns. It has been intensively studied in classical physical systems, as in neural networks where an attractor dynamics settles on stable solutions. Several extensions to the quantum domain have been recently reported, displaying different features. In this work, we develop a comprehensive framework for a quantum AM (QAM) based on open quantum system dynamics, which allows us to compare existing models, identify the theoretical prerequisites for performing AM tasks, and extend it in different forms. The map that achieves an exponential increase in the number of stored patterns with respect to classical systems is derived. We establish the crucial role of symmetries and dissipation in the operation of QAM. Our theoretical analysis demonstrates the feasibility of addressing both quantum and classical patterns, orthogonal and non-orthogonal memories, stationary and metastable operating regimes, and measurement-based outputs. Finally, this opens up new avenues for practical applications in quantum computing and machine learning, such as quantum error correction or quantum memories.

arXiv:2408.14272•Quantum Science and Technology•Jul 2, 2025•10 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

Optimal storage capacity of quantum Hopfield neural networks

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

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.

arXiv:2210.07894•Physical Review Research•May 1, 2023•13 citations

Implementing associative memory with quantum neural networks

Jieyu Zhao

In this paper an attempt is made to implement associative memory with quantum neural networks. The quantum algorithms for the storage of pattern and the retrieval of information are presented. It is shown that the capacity and the processing speed of the quantum neural network increase exponentially compared to the conventional model. The neural computing method for the calculation of quantum entanglement is also discussed.

International Conference on Machine Learning and Cybernetics•Apr 12, 2005•3 citations

Quantum Associative Memory with Quantum Neural Network via Adiabatic Hamiltonian Evolution

Yoshihiro Osakabe, Hisanao Akima, Masao Sakuraba +2 more

There is increasing interest in quantum computing, because of its enormous computing potential. A small number of powerful quantum algorithms have been proposed to date; however, the development of new quantum algorithms for practical use remains essential. Parallel computing with a neural network has successfully realized certain unique functions such as learning and recognition; therefore, the introduction of certain neural computing techniques into quantum computing to enlarge the quantum computing application field is worthwhile. In this paper, a novel quantum associative memory (QuAM) is proposed, which is achieved with a quantum neural network by employing adiabatic Hamiltonian evolution. The memorization and retrieval procedures are inspired by the concept of associative memory realized with an artificial neural network. To study the detailed dynamics of our QuAM, we examine two types of Hamiltonians for pattern memorization. The first is a Hamiltonian having diagonal elements, which is known as an Ising Hamiltonian and which is similar to the cost function of a Hopfield network. The second is a Hamiltonian having non-diagonal elements, which is known as a neuro-inspired Hamiltonian and which is based on interactions between qubits. Numerical simulations indicate that the proposed methods for pattern memorization and retrieval work well with both types of Hamiltonians. Further, both Hamiltonians yield almost identical performance, although their retrieval properties differ. The QuAM exhibits new and unique features, such as a large memory capacity, which differs from a conventional neural associative memory.

IEICE Transactions on Information and Systems•Jan 1, 2017•5 citations
We show that efficient and high-precision quantum associative retrieval is possible with an exponential complexity advantage with respect to the classical brute force approach and with a polynomial capacity advantage with respect to classical neural network implementations for any number of patterns scaling polynomially in the number of qubits. Both classical neural and quantum associative memories store the patterns in a Hamiltonian; in the classical case the dynamics is irreversible relaxation toward attractors, in the quantum case it is unitary transformations generating an effective thermal distribution, followed by a measurement.
The paper studies the precision–retrieval-cost trade-off in a quantum associative memory: given stored binary patterns and a query, sample a stored pattern close in Hamming distance. It analyzes a distance-dependent filtering algorithm, followed by amplitude amplification, starting from a uniform superposition of ppp patterns on nnn qubits.
With bbb control qubits, the conditional output distribution is Pb(x)∝cos⁡2b[πdH(i,x)/(2n)]P_b(x)\propto\cos^{2b}[\pi d_H(i,x)/(2n)]Pb​(x)∝cos2b[πdH​(i,x)/(2n)], equivalently a Boltzmann distribution with inverse temperature bbb. The filtering circuit uses O(nb)O(nb)O(nb) gates. For independent uniformly random pattern bits, the paper estimates retrieval cost as O(nb 2b/2)O(nb\,2^{b/2})O(nb2b/2). Outputs remain restricted to stored patterns, excluding spurious memories.
Using binomial concentration and extreme-distance estimates, the analysis finds that, for p=nkp=n^kp=nk and an exact-match target, distractor weight scales approximately as nk2−bn^k2^{-b}nk2−b. Setting b=Blog⁡2nb=B\log_2 nb=Blog2​n suppresses this weight for B>kB>kB>k; the paper identifies B/2<k<BB/2<k<BB/2<k<B as its precision–speed-up regime relative to brute-force lookup. For a target corrupted at rate ρ<1/2\rho<1/2ρ<1/2, logarithmic bbb still suffices, with relative distractor weight approximately nk/[2cos⁡2(πρ/2)]bn^k/[2\cos^2(\pi\rho/2)]^bnk/[2cos2(πρ/2)]b. For exponentially many random patterns, the analysis requires b=Θ(n)b=\Theta(n)b=Θ(n), yielding exponential retrieval cost.
The resource model excludes construction and physical size of pattern-dependent hardware, assuming constant-cost single-pass photonic state preparation; circuit preparation instead costs O(np)O(np)O(np). Precision guarantees concern random-pattern benchmarks rather than arbitrary databases. Comparisons with modern Hopfield networks require additional hardware-resource accounting. Error correction and improved filtering architectures are left outside the analysis.
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.
Associative memory (AM) refers to the ability to relate a memory with an input and targets the restoration of corrupted patterns. It has been intensively studied in classical physical systems, as in neural networks where an attractor dynamics settles on stable solutions. Several extensions to the quantum domain have been recently reported, displaying different features. In this work, we develop a comprehensive framework for a quantum AM (QAM) based on open quantum system dynamics, which allows us to compare existing models, identify the theoretical prerequisites for performing AM tasks, and extend it in different forms. The map that achieves an exponential increase in the number of stored patterns with respect to classical systems is derived. We establish the crucial role of symmetries and dissipation in the operation of QAM. Our theoretical analysis demonstrates the feasibility of addressing both quantum and classical patterns, orthogonal and non-orthogonal memories, stationary and metastable operating regimes, and measurement-based outputs. Finally, this opens up new avenues for practical applications in quantum computing and machine learning, such as quantum error correction or quantum memories.
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?
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.
There is increasing interest in quantum computing, because of its enormous computing potential. A small number of powerful quantum algorithms have been proposed to date; however, the development of new quantum algorithms for practical use remains essential. Parallel computing with a neural network has successfully realized certain unique functions such as learning and recognition; therefore, the introduction of certain neural computing techniques into quantum computing to enlarge the quantum computing application field is worthwhile. In this paper, a novel quantum associative memory (QuAM) is proposed, which is achieved with a quantum neural network by employing adiabatic Hamiltonian evolution. The memorization and retrieval procedures are inspired by the concept of associative memory realized with an artificial neural network. To study the detailed dynamics of our QuAM, we examine two types of Hamiltonians for pattern memorization. The first is a Hamiltonian having diagonal elements, which is known as an Ising Hamiltonian and which is similar to the cost function of a Hopfield network. The second is a Hamiltonian having non-diagonal elements, which is known as a neuro-inspired Hamiltonian and which is based on interactions between qubits. Numerical simulations indicate that the proposed methods for pattern memorization and retrieval work well with both types of Hamiltonians. Further, both Hamiltonians yield almost identical performance, although their retrieval properties differ. The QuAM exhibits new and unique features, such as a large memory capacity, which differs from a conventional neural associative memory.