Abstract
Neural networks enjoy widespread success in both research and industry and, with the advent of quantum technology, it is a crucial challenge to design quantum neural networks for fully quantum learning tasks. Here we propose a truly quantum analogue of classical neurons, which form quantum feedforward neural networks capable of universal quantum computation. We describe the efficient training of these networks using the fidelity as a cost function, providing both classical and efficient quantum implementations. Our method allows for fast optimisation with reduced memory requirements: the number of qudits required scales with only the width, allowing deepnetwork optimisation. We benchmark our proposal for the quantum task of learning an unknown unitary and find remarkable generalisation behaviour and a striking robustness to noisy training data.
Introduction
Machine learning (ML), particularly applied to deep neural networks via the backpropagation algorithm, has enabled a wide spectrum of revolutionary applications ranging from the social to the scientific^{1,2}. Triumphs include the now everyday deployment of handwriting and speech recognition through to applications at the frontier of scientific research^{2,3,4}. Despite rapid theoretical and practical progress, ML training algorithms are computationally expensive and, now that Moore’s law is faltering, we must contemplate a future with a slower rate of advance^{5}. However, new exciting possibilities are opening up due to the imminent advent of quantum computing devices that directly exploit the laws of quantum mechanics to evade the technological and thermodynamical limits of classical computation^{5}.
The exploitation of quantum computing devices to carry out quantum maching learning (QML) is in its initial exploratory stages^{6}. One can exploit classical ML to improve quantum tasks (“QC” ML, see refs. ^{7,8} for a discussion of this terminology) such as the simulation of manybody systems^{9}, adaptive quantum computation^{10} or quantum metrology^{11}, or one can exploit quantum algorithms to speed up classical ML (“CQ” ML)^{12,13,14,15}, or, finally, one can exploit quantum computing devices to carry out learning tasks with quantum data (“QQ” ML)^{16,17,18,19,20,21,22,23,24}. A good review on this topic can be found in ref. ^{25}. Particularly relevant to the present work is the recent paper of Verdon et al.^{26}, where quantum learning of parametrised unitary operations is carried out coherently. The task of learning an unknown unitary was also studied in a different setting in ref. ^{27}, where the authors focussed on storing the unitary in a quantum memory while having a limited amount of resources. This was later generalised to probabilistic protocols in ref. ^{28}. There are still many challenging open problems left for QML, particularly, the task of developing quantum algorithms for learning tasks involving quantum data.
A series of hurdles face the designer of a QML algorithm for quantum data. These include, finding the correct quantum generalisation of the perceptron, (deep) neural network architecture, optimisation algorithm, and loss function. In this paper we meet these challenges and propose a natural quantum perceptron which, when integrated into a quantum neural network (QNN), is capable of carrying out universal quantum computation. Our QNN architecture allows for a quantum analogue of the classical backpropagation algorithm by exploiting completely positive layer transition maps. We apply our QNN to the task of learning an unknown unitary, both with and without errors. Our classical simulation results are very promising and suggest the feasibility of our procedure for noisy intermediate scale (NISQ) quantum devices, although one would still have to study how noise in the network itself influences the performance.
There are now several available quantum generalisations of the perceptron, the fundamental building block of a neural network^{1,2,29,30,31,32,33,34,35}. In the context of CQ learning (in contrast to QQ learning, which we consider here) proposals include refs. ^{36,37,38,39,40}, where the authors exploit a qubit circuit setup, though the gate choices and geometry are somewhat more specific than ours. Another interesting approach is to use continuousvariable quantum systems (e.g., light) to define quantum perceptrons^{41,42,43}.
With the aim of building a fully quantum deep neural network capable of universal quantum computation we have found it necessary to modify the extant proposals somewhat. In this paper we define a quantum perceptron to be a general unitary operator acting on the corresponding input and output qubits, whose parameters incorporate the weights and biases of previous proposals in a natural way. Furthermore, we propose a training algorithm for this quantum neural network that is efficient in the sense that it only depends on the width of the individual layers and not on the depth of the network. It is also an important observation that there is no barren plateau in the cost function landscape. We find that the proposed network has some remarkable properties, as the ability to generalise from very small data sets and a remarkable tolerance to noisy training data.
Results
The network architecture
The smallest building block of a quantum neural network is the quantum perceptron, the quantum analogue of perceptrons used in classical machine learning. In our proposal, a quantum perceptron is an arbitrary unitary operator with m input qubits and n output qubits. Our perceptron is then simply an arbitrary unitary applied to the m + n input and output qubits which depends on \({({2}^{m+n})}^{2}1\) parameters. The input qubits are initialised in a possibly unknown mixed state ρ^{in} and the output qubits in a fiducial product state \({\left0\cdots 0\right\rangle }_{\text{out}}\) (note that this scheme can easily be extended to qudits). For simplicity in the following we focus on the case where our perceptrons act on m input qubits and one output qubit, i.e., they are (m + 1)qubit unitaries.
Now we have a quantum neuron which can describe our quantum neural network architecture. Motivated by analogy with the classical case and consequent operational considerations we propose that a QNN is a quantum circuit of quantum perceptrons organised into L hidden layers of qubits, acting on an initial state ρ^{in} of the input qubits, and producing an, in general, mixed state ρ^{out} for the output qubits according to
where \({\mathcal{U}}\equiv {U}^{{\rm{out}}}{U}^{L}{U}^{L1}\cdots {U}^{1}\) is the QNN quantum circuit, U^{l} are the layer unitaries, comprised of a product of quantum perceptrons acting on the qubits in layers l − 1 and l. It is important to note that, because our perceptrons are arbitrary unitary operators, they do not, in general, commute, so that the order of operations is significant. See Fig. 1 for an illustration.
It is a direct consequence of the quantumcircuit structure of our QNNs that they can carry out universal quantum computation, even for twoinput oneoutput qubit perceptrons. More remarkable, however, is the observation that a QNN comprised of quantum perceptrons acting on 4level qudits that commute within each layer, is still capable of carrying out universal quantum computation (see Supplementary Note 1 and Supplementary Fig. 1 for details). Although commuting qudit perceptrons suffice, we have actually found it convenient in practice to exploit noncommuting perceptrons acting on qubits. In fact, the most general form of our quantum perceptrons can implement any quantum channel on the input qudits (see Supplementary Fig. 2), so one could not hope for any more general notion of a quantum perceptron.
A crucial property of our QNN definition is that the network output may be expressed as the composition of a sequence of completely positive layertolayer transition maps \({{\mathcal{E}}}^{l}\):
where \({{\mathcal{E}}}^{l}\left({X}^{l1}\right)\equiv {\text{tr}}_{l1}\left({\prod }_{j={m}_{l}}^{1}{U}_{j}^{l}\left({X}^{l1}\otimes {0\cdots 0\rangle }_{l}\langle 0\cdots 0 \right)\right.\) \({\prod }_{j=1}^{{m}_{l}} \left. {{U}_{j}^{l}}^{\dagger }\right)\), \({U}_{j}^{l}\) is the jth perceptron acting on layers l − 1 and l, and m_{l} is the total number of perceptrons acting on layers l − 1 and l. This characterisation of the output of a QNN highlights a key structural characteristic: information propagates from input to output and hence naturally implements a quantum feedforward neural network. This key result is the fundamental basis for our quantum analogue of the backpropagation algorithm.
As an aside, we can justify our choice of quantum perceptron for our QNNs, by contrasting it with a recent notion of a quantum perceptron as a controlled unitary^{36,44}, i.e., \(U={\sum }_{\alpha }\left\alpha \right\rangle \left\langle \alpha \right\otimes U(\alpha )\), where \(\left\alpha \right\rangle\) is some basis for the input space and U(α) are parametrised unitaries. Substituting this definition into Eq. (2) implies that the output state is the result of a measureandprepare, or cq, channel. That is, \({\rho }^{\text{out}}={\sum }_{\alpha }\langle \alpha  {\rho }^{\text{in}} \alpha \rangle U(\alpha )\left0\right\rangle \left\langle 0\rightU{(\alpha )}^{\dagger }\). Such channels have no nonzero quantum channel capacity and cannot carry out general quantum computation.
The training algorithm
Now that we have an architecture for our QNN we can specify the learning task. Here, it is important to be clear about what part of the classical scenario we quantize. One possibility is to replace each classical sample of an unknown underlying probability distribution by a different quantum state. Hence, in the quantum setting, the underlying probability distribution will then be a distribution over quantum states. The second possibility is to identify the distribution itself with a quantum state, which we assume in this work, in which case it is justified to say that N samples correspond to N identical quantum states. We focus on the scenario where we have repeatable access to training data in the form of pairs \(\left(\left{\phi }_{x}^{\,\text{in}\,}\right\rangle ,\left{\phi }_{x}^{\,\text{out}\,}\right\rangle \right)\), x = 1, 2, …, N, of possibly unknown quantum states. (It is crucial that we can request multiple copies of a training pair \(\left(\left{\phi }_{x}^{\,\text{in}\,}\right\rangle ,\left{\phi }_{x}^{\,\text{out}\,}\right\rangle \right)\) for a specified x in order to overcome quantum projection noise in evaluating the derivative of the cost function.) Furthermore, the number of copies per training round needed grows quickly with the number of neurons (linearly with the number of network parameters), i.e., n_{proj} × n_{params}, where n_{proj} is the factor coming from repetition of measurements to reduce projection noise, and n_{params} is the total number of parameters in the network given by \({\sum }_{l=1}^{L+1}({4}^{({m}_{l1}+1)}1)\times {m}_{l}\), where m_{l} is the number of perceptrons acting on layers l − 1 and layer l, and the −1 term appears because the overall phase of the unitaries is unimportant. See Supplementary Note 5 for more details and a comparison to state tomography. This means that in the near term, for large networks, only sparsely connected networks may be practical for experimental purposes. An exception would be if the problem being considered is such that the training data is easy to produce, e.g., if the output states are produced by allowing input states to thermalize by simply interacting with environment, thus producing the output states. For concreteness from now on we focus on the restricted case where \(\left{\phi }_{x}^{\,\text{out}\,}\right\rangle =V\left{\phi }_{x}^{\,\text{in}\,}\right\rangle\), where V is some unknown unitary operation. This scenario is typical when one has access to an untrusted or uncharacterised device which performs an unknown quantum information processing task and one is able to repeatably initialise and apply the device to arbitrary initial states.
To evaluate the performance of our QNN in learning the training data, i.e., how close is the network output \({\rho }_{x}^{\,\text{out}\,}\) for the input \(\left{\phi }_{x}^{\,\text{in}\,}\right\rangle\) to the correct output \(\left{\phi }_{x}^{\,\text{out}\,}\right\rangle\), we need a cost function. Operationally, there is an essentially unique measure of closeness for (pure) quantum states, namely the fidelity, and it is for this reason that we define our cost function to be the fidelity between the QNN output and the desired output averaged over the training data:
Note that the cost function is a direct generalisation of the risk function considered in training calssical deep networks and we can efficiently simulate it. Also note that it takes a slightly more complicated form when the training data output states are not pure (in that case, we simply use the fidelity for mixed states: \(F(\rho ,\sigma ):={\left[{\rm{tr}}\sqrt{{\rho }^{1/2}\sigma {\rho }^{1/2}}\right]}^{2}\)), which may occur if we were to train our network to learn a quantum channel.
The cost function varies between 0 (worst) and 1 (best). We train the QNN by optimising the cost function C. This, as in the classical case, proceeds via update of the QNN parameters: at each training step, we update the perceptron unitaries according to \(U \rightarrow e^{i \epsilon K}U\), where K is the matrix that includes all parameters of the corresponding perceptron unitary and \(\epsilon\) is the chosen step size. The matrices K are chosen so that the cost function increases most rapidly: the change in C is given by
where L + 1 = out, \({\rho }_{x}^{l}={{\mathcal{E}}}^{l}\left(\cdots {{\mathcal{E}}}^{2}\left({{\mathcal{E}}}^{1}\left({\rho }_{x}^{\,\text{in}\,}\right)\right)\ldots \right)\), \({\sigma }_{x}^{l}={{\mathcal{F}}}^{l+1}\left(\cdots {{\mathcal{F}}}^{L}\left({{\mathcal{F}}}^{{\rm{out}}}\left(\left{\phi }_{x}^{{\rm{out}}}\right\rangle \left\langle {\phi }_{x}^{{\rm{out}}}\right\right)\right)\cdots \ \right)\), and \({\mathcal{F}}(X)\equiv {\sum }_{\alpha }{A}_{\alpha }^{\dagger }X{A}_{\alpha }\) is the adjoint channel for the CP map \({\mathcal{E}}(X)={\sum }_{\alpha }{A}_{\alpha }X{A}_{\alpha }^{\dagger }\). From Eq. (4), we obtain a formula for the parameter matrices (this is described in detail in Supplementary Note 2). At this point, the layer structure of the network comes in handy: To evaluate \({K}_{j}^{l}\) for a specific perceptron, we only need the output state of the previous layer, ρ^{l−1} (which is obtained by applying the layertolayer channels \({{\mathcal{E}}}^{1},{{\mathcal{E}}}^{2}\ldots {{\mathcal{E}}}^{l1}\) to the input state), and the state of the following layer σ^{l} obtained from applying the adjoint channels to the desired output state up to the current layer (see Box 1). A striking feature of this algorithm is that the parameter matrices may be calculated layerbylayer without ever having to apply the unitary corresponding to the full quantum circuit on all the constituent qubits of the QNN in one go. In other words, we need only access two layers at any given time, which greatly reduces the memory requirements of the algorithm. Hence, the size of the matrices in our calculation only scales with the width of the network, enabling us to train deep QNNs.
Simulation of learning tasks
It is impossible to classically simulate deep QNN learning algorithms for more than a handful of qubits due to the exponential growth of Hilbert space. To evaluate the performance of our QML algorithm we have thus been restricted to QNNs with small widths. We have carried out pilot simulations for input and output spaces of m = 2 and 3 qubits and have explored the behaviour of the QML gradient descent algorithm for the task of learning a random unitary V (see Supplementary Note 4 and Supplementary Figs. 4–6 for the implementation details). We focussed on two separate tasks: In the first task we studied the ability of a QNN to generalise from a limited set of random training pairs \((\left{\phi }_{x}^{\,\text{in}\,}\right\rangle ,V\left{\phi }_{x}^{\,\text{in}\,}\right\rangle )\), with x = 1,…, N, where N was smaller than the Hilbert space dimension. The results are displayed in Fig. 2a. Here we have plotted the (numerically obtained) cost function after training alongside a theoretical estimate of the optimal cost function for the best unitary possible which exploits all the available information (for which \(C \sim \frac{n}{N}+\frac{N \,  \, n}{ND(D \, + \, 1)}\left(D+\min \{{n}^{2}+1,{D}^{2}\}\right)\), where n is the number of training pairs, N the number of test pairs and D the Hilbert space dimensions). Here we see that the QNN matches the theoretical estimate and demonstrates the remarkable ability of our QNNs to generalise.
The second task we studied was aimed at understanding the robustness of the QNN to corrupted training data (e.g., due to decoherence). To evaluate this we generated a set of N good training pairs and then corrupted n of them by replacing them with random quantum data, where we chose the subset that was replaced by corrupted data randomly each time. We evaluated the cost function for the good pairs to check how well the network has learned the actual unitary. As illustrated in Fig. 2b the QNN is extraordinarily robust to this kind of error.
A crucial consequence of our numerical investigations was the absence of a “barren plateau” in the cost function landscape for our QNNs^{45}. There are two key reasons for this: firstly, according to McClean et al.^{45}, “The gradient in a classical deep neural network can vanish exponentially in the number of layers […], while in a quantum circuit the gradient may vanish exponentially in the number of qubits.” This point does not apply to our QNNs because the gradient of a weight in the QNN does not depend on all the qubits but rather only on the number of paths connecting that neuron to the output, just as it does classically. (This is best observed in the Heisenberg picture.) Thus, indeed, the gradient vanishes exponentially in the number of layers, but not in the number of qubits. Secondly, our cost function differs from that of McClean et al.^{45}: they consider energy minimisation of a local hamiltonian, whereas we consider a quantum version of the risk function. Our quantity is not local, and this means that Levy’s lemmatype argumentation does not directly apply. In addition, we always initialised our QNNs with random unitaries and we did not observe any exponential reduction in the value of the parameter matrices K (which arise from the derivative of our QNN with respect to the parameters). This may be intuitively understood as a consequence of the nongeneric structure of our QNNs: at each layer we introduce new clean ancilla, which lead to in general, dissipative output.
Discussion
The QNN and training algorithm we have presented here lend themselves well to the coming era of NISQ devices. The network architecture enables a reduction in the number of coherent qubits required to store the intermediate states needed to evaluate a QNN. Thus we only need to store a number of qubits scaling with the width of the network. This remarkable reduction does come at a price, namely, we require multiple evaluations of the network to estimate the derivative of the cost function. However, in the near term, this tradeoff is a happy one as many NISQ architectures—most notably superconducting qubit devices—can easily and rapidly repeat executions of a quantum circuit. For example, the recently reported experiment involving the “Sycamore” quantum computer executed one instance of a quantum circuit a million times in 200 s^{46}. It is the task of adding coherent qubits that will likely be the challenging one in the near term and working with this constraint is the main goal here. A crucial problem that has to be taken into account with regard to NISQ devices is the inevitable noise within the device itself. Interestingly, we have obtained numerical evidence that, for approximate depolarising noise, QNNs are robust (see inset of Fig. 2).
In this paper we have introduced natural quantum generalisations of perceptrons and (deep) neural networks, and proposed an efficient quantum training algorithm. The resulting QML algorithm, when applied to our QNNs, demostrates remarkable capabilities, including, the ability to generalise, tolerance to noisy training data, and an absence of a barren plateau in the cost function landscape. There are many natural questions remaining in the study of QNNs including generalising the quantum perceptron definition further to cover general CP maps (thus incorporating a better model for decoherence processes), studying the effects of overfitting, and optimised implementation on the next generation of NISQ devices.
Data availability
All results were obtained using Mathematica and Matlab. The code is available at https://github.com/qigitphannover/DeepQuantumNeuralNetworks.
References
Goodfellow, I., Bengio, Y. & Courville, A. Deep Learning (MIT Press, 2016).
Nielsen, M. A. Neural Networks and Deep Learning (Determination Press, 2015).
Jordan, M. I. & Mitchell, T. M. Machine learning: trends, perspectives, and prospects. Science 349, 255–260 (2015).
Bishop, C. Pattern Recognition and Machine Learning. Information Science and Statistics (SpringerVerlag, 2006).
Prati, E., Rotta, D., Sebastiano, F. & Charbon, E. From the quantum Moore’s law toward silicon based universal quantum computing. in 2017 IEEE ICRC (2017).
Biamonte, J. et al. Quantum machine learning. Nature 549, 195–202 (2017).
Aïmeur, E., Brassard, G. & Gambs, S. in Advances in Artificial Intelligence (eds Lamontagne, L. & Marchand, M.) 431–442 (Springer Berlin Heidelberg, Berlin, Heidelberg, 2006).
Wikipedia contributors. Quantum machine learning—Wikipedia, the free encyclopedia. https://en.wikipedia.org/w/index.php?title=Quantum_machine_learning&oldid=883275117 (2019).
Carleo, G. & Troyer, M. Solving the quantum manybody problem with artificial neural networks. Science 355, 602–606 (2017).
Tiersch, M., Ganahl, E. J. & Briegel, H. J. Adaptive quantum computation in changing environments using projective simulation. Sci. Rep. 5, 12874 (2015).
Lovett, N. B., Crosnier, C., PerarnauLlobet, M. & Sanders, B. C. Differential evolution for manyparticle adaptive quantum metrology. Phys. Rev. Lett. 110, 220501 (2013).
Aïmeur, E., Brassard, G. & Gambs, S. Quantum speedup for unsupervised learning. Mach. Learn. 90, 261 (2013).
Paparo, G. D., Dunjko, V., Makmal, A., MartinDelgado, M. A. & Briegel, H. J. Quantum speedup for active learning agents. Phys. Rev. X 4, 031002 (2014).
Schuld, M., Sinayskiy, I. & Petruccione, F. The quest for a quantum neural network. Quantum Inf. Process. 13, 2567–2586 (2014).
Wiebe, N., Kapoor, A. & Svore, K. M. Quantum perceptron models. In Proc. Neural Information Processing Systems 2016 (eds Lee, D. D., Sugiyama, M., Luxburg, U. V., Guyon, I. & Garnett, R.) 3999–4007 (Curran Associates, New York, 2016).
Sasaki, M. & Carlini, A. Quantum learning and universal quantum matching machine. Phys. Rev. A 66, 022303 (2002).
Gambs, S. Quantum classification. Preprint at https://arxiv.org/abs/0809.0444 (2008).
Sentís, G., Calsamiglia, J., MuñozTapia, R. & Bagan, E. Quantum learning without quantum memory. Sci. Rep. 2, 708 (2012).
Dunjko, V., Taylor, J. M. & Briegel, H. J. Quantumenhanced machine learning. Phys. Rev. Lett. 117, 130501 (2016).
Monràs, A., Sentís, G. & Wittek, P. Inductive supervised quantum learning. Phys. Rev. Lett. 118, 190503 (2017).
AlvarezRodriguez, U., Lamata, L., EscandellMontero, P., MartínGuerrero, J. D. & Solano, E. Supervised quantum learning without measurements. Sci. Rep. 7, 13645 (2017).
Amin, M. H., Andriyash, E., Rolfe, J., Kulchytskyy, B. & Melko, R. Quantum Boltzmann machine. Phys. Rev. X 8, 021050 (2018).
Du, Y., Hsieh, M.H., Liu, T. & Tao, D. The expressive power of parameterized quantum circuits. Preprint at https://arxiv.org/abs/1810.11922 (2018).
Sentís, G., Monràs, A., MuñozTapia, R., Calsamiglia, J. & Bagan, E. Unsupervised classification of quantum data. Phys. Rev. X 9, 041029 (2019).
Dunjko, V. & Briegel, H. J. Machine learning & artificial intelligence in the quantum domain: a review of recent progress. Rep. Prog. Phys. 81, 074001 (2018).
Verdon, G., Pye, J. & Broughton, M. A universal training algorithm for quantum deep learning. Preprint at https://arxiv.org/abs/1806.09729 (2018).
Bisio, A., Chiribella, G., D’Ariano, G. M., Facchini, S. & Perinotti, P. Optimal quantum learning of a unitary transformation. Phys. Rev. A 81, 032324 (2010).
Sedlák, M., Bisio, A. & Ziman, M. Optimal probabilistic storage and retrieval of unitary channels. Phys. Rew. Lett 122, 170502 (2019).
Schuld, M., Sinayskiy, I. & Petruccione, F. Simulating a perceptron on a quantum computer. Phys. Lett. A 379, 660–663 (2015).
Lewenstein, M. Quantum perceptrons. J. Mod. Opt. 41, 2491–2501 (1994).
Wan, K. H., Dahlsten, O., Kristjánsson, H., Gardner, R. & Kim, M. S. Quantum generalisation of feedforward neural networks. npj Quantum Inf. 3, 36 (2017).
daSilva, A. J., Ludermir, T. B. & de Oliveira, W. R. Quantum perceptron over a field and neural network architecture selection in a quantum computer. Neural Networks 76, 55–64 (2016).
Altaisky, M. V. Quantum neural network. Preprint at https://arxiv.org/abs/quantph/0107012 (2001).
Goncalves, C. Quantum neural machine learning: backpropagation and dynamics. NeuroQuantology 15, 22–41 (2016).
Kouda, N., Matsui, N., Nishimura, H. & Peper, F. Qubit neural network and its learning efficiency. Neural Comput. Appl. 14, 114–121 (2005).
Torrontegui, E. & GarcíaRipoll, J. J. Unitary quantum perceptron as efficient universal approximator. EPL 125, 30004 (2019).
Farhi, E. & Neven, H. Classification with quantum neural networks on near term processors. Preprint at https://arxiv.org/abs/1802.06002 (2018).
Schuld, M., Bocharov, A., Svore, K. & Wiebe, N. Circuitcentric quantum classifiers. Preprint at https://arxiv.org/abs/1804.00633 (2018).
Mitarai, K., Negero, M., Kitagawa, M. & Fujii, K. Quantum circuit learning. Phys. Rev. A 98, 032309 (2018).
Grant, E. et al. Hierarchical quantum classifiers. npj Quantum Inf. 4, 65 (2018).
Killoran, N. et al. Continuousvariable quantum neural networks. Phys. Rev. Research 1, 033063 (2018).
Arrazola, J. M. et al. Machine learning method for state preparation and gate synthesis on photonic quantum computers. Quantum Sci. Technol. 4, 024004 (2019).
Steinbrecher, G. R., Olson, J. P., Englund, D. & Carolan, J. Quantum optical neural networks. npj Quantum Inf. 5, 1–9 (2019).
Cao, Y., Guerreschi, G. G. & AspuruGuzik, A. Quantum neuron: an elementary building block for machine learning on quantum computers. Preprint at https://arxiv.org/abs/1711.11240 (2017).
McClean, J. R., Boixo, S., Smelyanskiy, V. N., Babbush, R. & Neven, H. Barren plateaus in quantum neural network training landscape. Nat. Commun. 9, 4812 (2018).
Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505–510 (2019).
Acknowledgements
Helpful correspondence and discussions with Lorenzo Cardarelli, Polina Feldmann, Andrew Green, Alexander Hahn, Amit Jamadagni, Maria Kalabakov, Sebastian Kinnewig, Roger Melko, Laura Niermann, Simone Pfau, Marvin Schwiering, Deniz E. Stiegemann and E. Miles Stoudenmire are gratefully acknowledged. This work was supported by the DFG through SFB 1227 (DQmat), the RTG 1991, and Quantum Frontiers. T.F. was supported by the Australian Research Council Centres of Excellence for Engineered Quantum Systems (EQUS, CE170100009). The publication of this article was funded by the Open Access Fund of the Leibniz Universität Hannover.
Author information
Authors and Affiliations
Contributions
This project was conceived of, and initiated in, discussions of T.J.O. and D.B. The QNN architecture was formulated by T.J.O., T.F., R.W. and K.B. Operational considerations were investigated by D.B. Classical numerical implementations and investigations were developed by R.S. and R.W. Universality of the QNN model was discovered by T.F. The quantum implementation was developed by K.B. D.S. investigated the behaviour of the QNN under noise. All authors contributed to writing the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Peer review information Nature Communications thanks Gael Sentis and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Beer, K., Bondarenko, D., Farrelly, T. et al. Training deep quantum neural networks. Nat Commun 11, 808 (2020). https://doi.org/10.1038/s41467020144542
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41467020144542
This article is cited by

Quantum face recognition protocol with ghost imaging
Scientific Reports (2023)

Safe reinforcement learning under temporal logic with reward design and quantum action selection
Scientific Reports (2023)

Towards quantum enhanced adversarial robustness in machine learning
Nature Machine Intelligence (2023)

Quantumaided secure deep neural network inference on real quantum computers
Scientific Reports (2023)

Deep quantum neural networks on a superconducting processor
Nature Communications (2023)
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.