Skip to main content
QUICK REVIEW

[Paper Review] Quantum machine learning algorithms for anomaly detection: A review

Sebastiano Corli, Lorenzo Moro|arXiv (Cornell University)|Aug 20, 2024
Quantum Computing Algorithms and ArchitectureComputer Science3 citations
TL;DR

This paper presents a comprehensive survey of quantum machine learning (QML) algorithms for anomaly detection, categorizing them into supervised, unsupervised, and reinforcement learning frameworks. It analyzes quantum speedup mechanisms, reviews key quantum algorithms like HHL and QPE, and evaluates their computational complexity and hardware requirements for real-world deployment in domains like cybersecurity and particle physics.

ABSTRACT

The advent of quantum computers has justified the development of quantum machine learning algorithms , based on the adaptation of the principles of machine learning to the formalism of qubits. Among such quantum algorithms, anomaly detection represents an important problem crossing several disciplines from cybersecurity, to fraud detection to particle physics. We summarize the key concepts involved in quantum computing, introducing the formal concept of quantum speed up. The review provides a structured map of anomaly detection based on quantum machine learning. We have grouped existing algorithms according to the different learning methods, namely quantum supervised, quantum unsupervised and quantum reinforcement learning, respectively. We provide an estimate of the hardware resources to provide sufficient computational power in the future. The review provides a systematic and compact understanding of the techniques belonging to each category. We eventually provide a discussion on the computational complexity of the learning methods in real application domains.

Motivation & Objective

  • To provide a systematic classification of quantum machine learning algorithms for anomaly detection based on learning paradigms: supervised, unsupervised, and reinforcement learning.
  • To analyze the theoretical and practical foundations of quantum speedup in anomaly detection, focusing on algorithms like HHL and QPE.
  • To estimate future hardware requirements for running QML-based anomaly detection on near-term quantum devices.
  • To evaluate the computational complexity and feasibility of QML methods in real-world applications such as cybersecurity, high-energy physics, and geophysical data analysis.
  • To bridge the gap between theoretical quantum algorithms and practical implementations by reviewing recent works with actual or simulated quantum hardware.

Proposed method

  • Classifies existing QML algorithms for anomaly detection into three learning paradigms: supervised, unsupervised, and reinforcement learning, mirroring classical ML taxonomy.
  • Introduces core quantum computing concepts including qubits, qudits, qumodes, and quantum state encoding, emphasizing superposition and entanglement as foundational principles.
  • Applies the Quantum Phase Estimation (QPE) algorithm to estimate eigenvalues of unitary operators, enabling the solution of linear systems via the HHL algorithm.
  • Utilizes variational quantum circuits and quantum neural networks to map classical neural network architectures onto quantum devices, enabling hybrid quantum-classical training.
  • Employs the HHL algorithm to solve linear systems of equations $ A\mathbf{x} = \mathbf{b} $ by encoding $ \mathbf{b} $ into a quantum state and using QPE to conditionally rotate ancilla qubits based on eigenvalues.
  • Analyzes the role of classical high-performance computing (HPC) in simulating and interfacing with quantum hardware, especially for error mitigation and algorithm validation.

Experimental results

Research questions

  • RQ1How can quantum machine learning algorithms be systematically categorized according to learning paradigms in the context of anomaly detection?
  • RQ2What is the role of quantum speedup in enhancing the efficiency of anomaly detection compared to classical methods?
  • RQ3Which quantum algorithms—such as HHL and QPE—are most suitable for solving linear systems and estimating eigenvalues in anomaly detection pipelines?
  • RQ4What are the current hardware resource requirements for implementing QML-based anomaly detection on near-term quantum processors?
  • RQ5How do computational complexities of QML methods scale in practical application domains like cybersecurity, particle physics, and geophysical data analysis?

Key findings

  • The HHL algorithm enables quantum speedup for solving linear systems by preparing a quantum state proportional to $ A^{-1}\mathbf{b} $, with the output state $ \Lambda \sum_j \frac{b_j}{\lambda_j} \ket{u_j} $ encoding the solution.
  • Quantum Phase Estimation (QPE) allows the estimation of eigenvalues $ \lambda_j $ of a unitary operator $ \hat{U} = e^{i\hat{A}t} $, with the phase $ \theta $ recovered as $ \theta = \lambda_j t / (2\pi) $, enabling precise eigenvalue analysis.
  • For the HHL algorithm, the final state is obtained after applying inverse QPE and measuring the ancilla qubit in $ \ket{1} $, yielding a state proportional to $ A^{-1}\mathbf{b} $, up to normalization.
  • The HHL algorithm can be extended to non-Hermitian matrices by constructing a block matrix $ \tilde{A} = \begin{pmatrix} 0 & A \\ A^\dagger & 0 \end{pmatrix} $, allowing solution of $ \tilde{A} \begin{pmatrix} 0 \\ \mathbf{x} \end{pmatrix} = \begin{pmatrix} \mathbf{b} \\ 0 \end{pmatrix} $.
  • The distance between the two closest data points to a separating hyperplane in a support vector machine is proven to be $ d = 2 / \|\mathbf{w}\| $, derived from the condition $ \mathbf{w} \cdot \mathbf{x}_i + b = \pm 1 $.
  • The survey identifies that practical implementation of QML for anomaly detection remains limited by current hardware constraints, with most algorithms requiring fault-tolerant quantum computers for full advantage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.