Source-linked AI summary

Quantum Machine Learning

Jacob Biamonte, Peter Wittek, Nicola Pancotti, Patrick Rebentrost, Nathan Wiebe, Seth Lloyd

arXiv:1611.09347v2quant-phcond-mat.str-elstat.ML

TL;DR

Quantum machine learning asks whether quantum systems can recognize patterns or solve learning problems beyond the reach of classical computers. The review surveys quantum algorithms and specialized processors that may provide speedups, while emphasizing that hardware, software, data-loading, and practical-resource challenges remain substantial.

  • Problem

    Quantum machine learning investigates whether quantum-generated patterns and quantum algorithms can provide advantages over classical machine learning.

  • Method

    The review examines quantum algorithms, query and gate complexity, specialized processors, and approaches for encoding classical or quantum data.

  • Results

    Quantum algorithms exhibit speedups for basic linear algebra and multiple machine-learning tasks, while specialized quantum processors are matched to some deep-learning architectures.

  • Takeaways & Limitations

    Quantum machine learning has identified potential routes to recognizing patterns beyond classical reach, but the extent to which this potential is realized remains unclear.

  • Takeaways & Limitations

    Practical advantages are constrained by difficult resource quantification, applicability caveats, costly classical-data loading, and unresolved hardware-interface challenges.

Abstract

from arXiv · show

Fuelled by increasing computer power and algorithmic advances, machine learning techniques have become powerful tools for finding patterns in data. Since quantum systems produce counter-intuitive patterns believed not to be efficiently produced by classical systems, it is reasonable to postulate that quantum computers may outperform classical computers on machine learning tasks. The field of quantum machine learning explores how to devise and implement concrete quantum software that offers such advantages. Recent work has made clear that the hardware and software challenges are still considerable but has also opened paths towards solutions.

Introduction

Quantum machine learning is motivated by the possibility that quantum-generated patterns and algorithms could outperform classical methods, while practical feasibility remains unresolved. The review examines quantum speedups, benchmarking, and hardware, software, and data-loading constraints.

  • Motivation: Quantum systems may recognize patterns that are computationally difficult for classical computers to recognize, motivating quantum machine learning.This hope depends on finding efficient quantum algorithms for machine learning.
  • Evaluation: Quantum speedup is evaluated through query complexity and gate complexity, but the best classical performance is not always known.Formal proofs and finite-device evidence represent different standards for establishing a scaling advantage.
  • Quantum speedups: Quantum algorithms exhibit speedups for basic linear algebra and related machine-learning tasks, including least-squares fitting, principal component analysis, and support vector machines.The review also discusses quantum annealers and programmable optical arrays as processors matched to deep-learning architectures.
  • Scope: The review asks how quantum computers and special-purpose processors such as quantum annealers could perform quantum machine learning.The data may be classical data encoded as quantum states or quantum data.
  • Quantum speedups: A quantum computer searches an unsorted database in square-root time relative to a classical computer’s linear-time search, while several linear-algebra operations can achieve exponential speedups.The cited operations include Fourier transforms, sparse matrix inversion, and eigenvalue and eigenvector estimation.
  • Practical feasibility: Speedup claims carry applicability caveats, and practical resource requirements for quantum machine learning remain difficult to quantify.The review therefore treats practical feasibility as a central subject.

Classical machine learning

Classical machine learning uses computers to analyze data through conventional methods and learning protocols. Supervised learning uses labels, whereas unsupervised learning seeks natural categories in unlabeled data.

  • Classical methods: Classical data analysis includes least-squares regression, polynomial interpolation, and related methods.
  • Learning protocols: Supervised learning trains on labeled examples to assign labels to data outside the training set.Handwritten-digit samples paired with their actual numbers illustrate this setup.
  • Learning protocols: Unsupervised learning trains on unlabeled data to find natural categories and categorize data outside the training set.

Linear-algebra based quantum machine learning

Linear-algebra-based quantum machine learning uses quantum representations and matrix-processing subroutines to perform tasks such as PCA, linear-system solving, and classification. These methods can offer favorable idealized scaling, but their practical benefits depend on data access, output extraction, conditioning, and implementation costs.

  • Linear-algebra foundations: Quantum states encode high-dimensional vectors, while quantum operations implement matrix transformations underlying linear-algebra-based machine-learning methods.An n-qubit state occupies a 2^n-dimensional complex vector space, and quantum operations act with 2^n × 2^n matrices.
  • Quantum principal component analysis: Classical PCA has O(d^2) computational and query complexity, whereas quantum PCA is reported as exponentially more efficient in both measures.qPCA maps randomly selected classical data vectors into quantum states, forms a density matrix corresponding to the covariance matrix up to scale, and extracts principal components through measurements.
  • Quantum support vector machines: Quantum support-vector-machine approaches combine quantum phase estimation and HHL matrix inversion to construct and test a separating hyperplane in time poly(log N) in principle.The stated scaling assumes the data are already available to the quantum device and depends on the dimension of the matrix used to prepare the quantum hyperplane vector.
  • Linear-system solving: HHL solves A x = b by encoding b and x as quantum states, using phase estimation and eigenvalue-dependent rotation to implement matrix inversion.The method can also find a minimum-residual state when A is nonsquare or has zero eigenvalues.
  • Linear-system solving: HHL takes O((log N)^2) quantum steps to output |x⟩, compared with O(N log N) steps for the best known classical method.The quantum procedure’s success requires repeated state preparation scaling as O(∥A∥/Λ), the matrix condition number.
  • Practical caveats: The advertised speedups are constrained by output reconstruction, input-state preparation, matrix conditioning, efficient simulation, and prohibitive practical cost estimates.For HHL, reconstructing all N components requires O(N) repetitions, while current practical cost estimates remain prohibitive despite the O((log N)^2) scaling.

qBLAS-based optimization

Quantum machine-learning optimization methods target both combinatorial problems and iterative continuous optimization. Quantum PCA variants are described as accelerating gradient-descent and Newton-type methods for polynomial optimization.

  • Quantum annealing and linear systems: Quantum annealing processors can solve some combinatorial optimization problems, while sparse or low-rank constrained quadratic programs can be formulated as linear systems.The linear-system formulation applies to certain quadratic functions subject to equality constraints.
  • Iterative optimization: A modified quantum PCA method applies iterative gradient descent and Newton’s methods to polynomial optimization, providing an exponential speedup over classical methods.The method uses multiple copies of the current solution encoded in a quantum state during optimization.

Reading classical data into quantum machines

Loading classical data into quantum machines can dominate the claimed advantages of quantum machine-learning algorithms. The review identifies exponential loading costs, potentially prohibitive qRAM costs, and additional circuit overhead as practical barriers.

  • Input and output bottlenecks: Classical data must be loaded before quantum processing, and reading processed data can also cause significant operational slowdown.The review treats input and output as separate bottlenecks affecting practical performance.
  • Input bottleneck: For HHL, least-squares fitting, qPCA, and quantum support-vector machines, loading considerable classical data can require exponential time.qRAM can address this input bottleneck in principle, but its cost may be prohibitive for big-data problems.
  • Circuit overhead: Without substantial optimization, circuit size and depth can balloon to approximately 10^25 in one proposed HHL realization.The review calls for better optimization and cost estimates to determine what quantum hardware could provide useful alternatives to classical machine learning.

Deep quantum learning

Deep quantum learning extends Boltzmann-machine ideas with quantum models, potentially accelerating thermalization and sampling while generating quantum states. Training can use quantum relative entropy and experimentally estimated gradients, though efficient classical analogues are not generally known for non-stoquastic Hamiltonians.

  • Quantum models: Quantum Boltzmann machines extend classical Boltzmann machines by incorporating quantum interactions and can be implemented on specialized processors such as quantum annealers.Quantum annealers are described as easier to construct and scale than general-purpose quantum computers.
  • Potential advantages: Quantum methods can thermalize systems quadratically faster than classical counterparts, potentially making accurate training of fully connected Boltzmann machines practical.Quantum coherence can also quadratically reduce the number of samples needed to learn network performance.
  • Quantum models: Quantum deep learners may recognize patterns inaccessible to classical computers because transverse-field and additional quantum couplings produce fundamentally quantum models.With suitable weight assignments, the transverse Ising model is universal for full quantum computing.
  • Quantum models: Unlike classical Boltzmann machines, quantum Boltzmann machines output quantum states, enabling quantum associative memory and applications beyond classifying quantum states.They can generate quantum states representative of a wide variety of systems and provide richer models for classical data.
  • Training: Training minimizes quantum relative entropy, which upper bounds the distance between states, while its gradient can be estimated experimentally for gradient-descent updates.Experimental expectation values for ρtrain and simulator estimates of Tr(σHj) determine the improvement direction; fewer than 10 gradient steps trained a random mixed state approximately.
  • Training: No efficient classical analogue is known in general for training with non-stoquastic Hamiltonians.The cited training procedure is described for stoquastic Hamiltonians, while the general non-stoquastic case remains bounded by this limitation.

Quantum machine learning for quantum data

Quantum machine learning can analyze quantum-generated data directly, including density matrices and quantum dynamics. Quantum PCA and quantum simulators offer potentially exponential reductions in analysis resources, but coherent input-state loading remains a significant technical challenge.

  • Quantum data: Quantum machine learning algorithms can analyze quantum data by mapping states to quantum representations and applying quantum linear-algebra procedures.The section identifies quantum-system states and processes as an immediate application area.
  • Quantum PCA: O((log2 N)^2) time for quantum PCA contrasts with O(N^2) classical tomography measurements and O(N^2) classical PCA operations on an N × N density matrix.The quantum procedure finds eigenvalues and corresponding eigenvectors.
  • Quantum simulation: Quantum simulators can learn unknown quantum dynamics through approximate Bayesian inference, exponentially reducing measurements compared with classical tomography.Related algorithms reconstruct dynamics or states in time logarithmic in Hilbert-space dimension.
  • Practical considerations: Coherent input-state loading is a significant technical challenge, although these applications do not require QRAM and remain promising for near-term quantum machine learning.The passage specifically connects this scope to device characterization and quantum PCA.

Designing and controlling quantum systems

Machine learning methods support both the design and control of quantum systems. Reported applications include high-fidelity gate construction, error suppression, adaptive metrology, molecular control, and extracting insights about quantum states.

  • Designing quantum gates: Heuristic search methods achieved gate fidelities above 99.9% for noisy nearest-neighbor-coupled superconducting artificial atoms and a single-shot Toffoli gate.Genetic algorithms were also used to reduce digital and experimental errors in quantum gates.
  • Designing quantum gates: Stochastic gradient descent and two-body interactions embedded a Toffoli gate without time-dependent control, while recurrent neural networks designed dynamical-decoupling sequences.These methods use natural quantum-network dynamics or learned control sequences to address gate implementation and decoherence.
  • Controlling quantum systems: Genetic algorithms and reinforcement learning have been applied to optimize quantum control, including adaptive quantum metrology and molecular control under changing environmental parameters.Adaptive quantum metrology is presented as a key quantum building block in many quantum technologies.
  • Extracting quantum-state insights: Neural networks have achieved better performance than established numerical tools for phase-of-matter detection and ground-state search in condensed-matter problems.Theoretical physicists are studying these models to understand their descriptive power analytically.

Perspectives on future work

Future progress in quantum machine learning depends on advancing hardware and addressing practical limitations in data access, algorithm costs, outputs, and benchmarking. Applying quantum computing to quantum data may help sidestep some challenges and support a cycle linking processor development with quantum-enhanced learning.

  • Hardware progress: Small quantum computers and specialized processors show promising applications in machine learning and data analysis, but realizing this promise requires suitable quantum hardware.Examples include quantum simulators, annealers, integrated photonic chips, NV-diamond arrays, qRAM, and superconducting circuits.
  • Hardware progress: Quantum annealers have reached approximately 2000 qubits, while improving connectivity and tunable couplings remains important for implementing quantum machine learning algorithms.
  • Hardware progress: Large qRAM arrays remain difficult to construct even though proof-of-principle demonstrations exist and idealized memory calls take O(log2 N) time.A qRAM for N data items uses a branching array of 2N quantum switches and requires coherent operation during a memory call.
  • Practical limitations: Quantum machine learning faces four practical problems: input costs, exponentially large outputs, uncertain gate costs, and benchmarking against modern classical heuristics.These caveats constrain the applicability and practical evaluation of many identified quantum algorithms.
  • Future directions: Applying quantum computing to quantum rather than classical data may sidestep some issues and create a cycle in which processors help design subsequent processors and quantum-enhanced learning applications.
Loading 1611.09347v2…