# Quantum algorithms for feedforward neural networks

**Authors:** Jonathan Allcock, Chang-Yu Hsieh, Iordanis Kerenidis, Shengyu Zhang

arXiv: 1812.03089 · 2019-09-09

## TL;DR

This paper introduces quantum algorithms for training and evaluating feedforward neural networks, achieving quadratic speedups over classical methods and potentially enhancing network regularization.

## Contribution

It presents novel quantum algorithms for neural network training and evaluation, leveraging quantum subroutines and memory for efficiency and robustness.

## Key findings

- Quadratic speedup in training and evaluation times for large networks.
- Potential intrinsic resistance to overfitting due to quantum algorithm properties.
- Quantum-inspired classical algorithms with similar dimension dependence but higher overhead.

## Abstract

Quantum machine learning has the potential for broad industrial applications, and the development of quantum algorithms for improving the performance of neural networks is of particular interest given the central role they play in machine learning today. In this paper we present quantum algorithms for training and evaluating feedforward neural networks based on the canonical classical feedforward and backpropagation algorithms. Our algorithms rely on an efficient quantum subroutine for approximating the inner products between vectors in a robust way, and on implicitly storing large intermediate values in quantum random access memory for fast retrieval at later stages. The running times of our algorithms can be quadratically faster in the size of the network than their standard classical counterparts since they depend linearly on the number of neurons in the network, as opposed to the number of connections between neurons as in the classical case. This makes our algorithms suited for large-scale, highly-connected networks where the number of edges in the network dominates the classical algorithmic running time. Furthermore, networks trained by our quantum algorithm may have an intrinsic resilience to overfitting, as the algorithm naturally mimics the effects of classical techniques such as drop-out used to regularize networks. Our algorithms can also be used as the basis for new quantum-inspired classical algorithms which have the same dependence on the network dimensions as their quantum counterparts, but with quadratic overhead in other parameters that makes them relatively impractical.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1812.03089/full.md

## Figures

16 figures with captions in the complete paper: https://tomesphere.com/paper/1812.03089/full.md

## References

44 references — full list in the complete paper: https://tomesphere.com/paper/1812.03089/full.md

---
Source: https://tomesphere.com/paper/1812.03089