Zephyrnet Logo

Data re-uploading for a universal quantum classifier

Date:


Adrián Pérez-Salinas1,2, Alba Cervera-Lierta1,2, Elies Gil-Fuster3, and José I. Latorre1,2,4,5

1Barcelona Supercomputing Center
2Institut de Ciències del Cosmos, Universitat de Barcelona, Barcelona, Spain
3Dept. Física Quàntica i Astrofísica, Universitat de Barcelona, Barcelona, Spain.
4Nikhef Theory Group, Science Park 105, 1098 XG Amsterdam, The Netherlands.
5Center for Quantum Technologies, National University of Singapore, Singapore.

Find this paper interesting or want to discuss? Scite or leave a comment on SciRate.

Abstract

A single qubit provides sufficient computational capabilities to construct a universal quantum classifier when assisted with a classical subroutine. This fact may be surprising since a single qubit only offers a simple superposition of two states and single-qubit gates only make a rotation in the Bloch sphere. The key ingredient to circumvent these limitations is to allow for multiple $textit{data re-uploading}$. A quantum circuit can then be organized as a series of data re-uploading and single-qubit processing units. Furthermore, both data re-uploading and measurements can accommodate multiple dimensions in the input and several categories in the output, to conform to a universal quantum classifier. The extension of this idea to several qubits enhances the efficiency of the strategy as entanglement expands the superpositions carried along with the classification. Extensive benchmarking on different examples of the single- and multi-qubit quantum classifier validates its ability to describe and classify complex data.

In this paper, we show how to use the computational power of a single qubit to solve non-trivial classification problems. We propose a hybrid classical-quantum algorithm based on re-uploading classical data into the angles of the single-qubit unitary gates multiple times along the circuit. Together with the data points, other parameters are introduced into the circuit and adjusted by classically minimizing a cost function. To construct this cost function, we train the circuit to distribute the data points into different regions of the Bloch sphere, one for each class. A particular division of the Bloch sphere accompanies this strategy for maximizing distinguishability between classes.
This procedure cannot provide any quantum advantage as a single qubit can be simulated classically. However, the capability of handling one qubit might be useful as a small piece of larger circuits. Besides, an extension of the algorithm for more qubits and entanglement is also presented in this work. The multi-qubit role remains unexplored and might be a candidate for quantum advantage. A first step analyzed, there exists a trade-off between the number of qubits needed and the times of data re-uploading for classifying, namely layers.
This algorithm is to be compared with a neural network with one hidden layer. Neural Networks re-upload classical data several times, once per hidden neuron, achieving the same kind of processing as in our quantum classifier. Success rates are also comparable for both models.

► BibTeX data

► References

[1] M. Schuld, I. Sinayskiy, and F. Petruccione, Quantum Information Processing 13, 2567 (2014).
https:/​/​doi.org/​10.1007/​s11128-014-0809-8

[2] K. H. Wan, O. Dahlsten, H. Kristjánsson, R. Gardner, and M. S. Kim, npj Quantum Information 3, 36 (2017).
https:/​/​doi.org/​10.1038/​s41534-017-0032-4

[3] E. Torrontegui and J. J. García-Ripoll, EPL (Europhysics Letters) 125, 30004 (2019).
https:/​/​doi.org/​10.1209/​0295-5075/​125/​30004

[4] N. Wiebe, D. Braun, and S. Lloyd, Physics Review Letters 109, 050505 (2012).
https:/​/​doi.org/​10.1103/​PhysRevLett.109.050505

[5] P. Rebentrost, M. Mohseni, and S. Lloyd, Physics Review Letters 113, 130503 (2014).
https:/​/​doi.org/​10.1103/​PhysRevLett.113.130503

[6] J. Biamonte, P. Wittek, N. Pancotti, P. Rebentrost, N. Wiebe, and S. Lloyd, Nature 549, 195 (2017).
https:/​/​doi.org/​10.1038/​nature23474

[7] E. Farhi and H. Neven, “Classification with quantum neural networks on near term processors,” (2018), arXiv:1802.06002 [quant-ph].
arXiv:1802.06002

[8] M. Schuld, A. Bocharov, K. Svore, and N. Wiebe, “Circuit-centric quantum classifiers,” (2018), arXiv:1804.00633 [quant-ph].
arXiv:1804.00633

[9] V. Havlíček, A. D. Córcoles, K. Temme, A. W. Harrow, A. Kandala, J. M. Chow, and J. M. Gambetta, Nature 567, 209 (2019).
https:/​/​doi.org/​10.1038/​s41586-019-0980-2

[10] M. Schuld and N. Killoran, Physics Review Letters 122, 040504 (2019).
https:/​/​doi.org/​10.1103/​PhysRevLett.122.040504

[11] V. Giovannetti, S. Lloyd, and L. Maccone, Physics Review Letters 100, 160501 (2008).
https:/​/​doi.org/​10.1103/​PhysRevLett.100.160501

[12] K. Hornik, Neural Networks 4, 251 (1991).
https:/​/​doi.org/​10.1016/​0893-6080(91)90009-t

[13] R. Ghobadi, J. S. Oberoi, and E. Zahedinejhad, “The power of one qubit in machine learning,” (2019), arXiv:1905.01390 [quant-ph].
arXiv:1905.01390

[14] J. Gil Vidal and D. Oliver Theis, “Input redundancy for parameterized quantum circuits,” (2019), arXiv:1901.11434 [quant-ph].
arXiv:1901.11434

[15] K. Mitarai, M. Negoro, M. Kitagawa, and K. Fujii, Physics Review A 98, 032309 (2018).
https:/​/​doi.org/​10.1103/​PhysRevA.98.032309

[16] C. W. Helstrom, Quantum detection and estimation theory /​ Carl W. Helstrom (Academic Press New York, 1976) pp. ix, p. : 309.
https:/​/​nla.gov.au/​nla.cat-vn617918

[17] M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition, 10th ed. (Cambridge University Press, New York, NY, USA, 2011).
https:/​/​doi.org/​10.1017/​CBO9780511976667

[18] G. Cybenko, Mathematics of Control, Signals, and Systems 2, 303 (1989).
https:/​/​doi.org/​10.1007/​bf02551274

[19] B. C. Hall, Lie Groups, Lie Algebras, and Representations An Elementary Introduction (Graduate Texts in Mathematics, 222 (2nd ed.), Springer, 2015).
https:/​/​doi.org/​10.1007/​978-3-319-13467-3

[20] M. A. Nielsen, Neural networks and deep learning, Vol. 25 (Determination press USA, 2015).
http:/​/​neuralnetworksanddeeplearning.com/​

[21] R. H. Byrd, P. Lu, J. Nocedal, and C. Zhu, SIAM Journal on Scientific Computing 16, 1190 (1995).
https:/​/​doi.org/​10.1137/​0916069

[22] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay, Journal of Machine Learning Research 12, 2825 (2011).
https:/​/​www.scipy.org/​

[23] E. Jones, T. Oliphant, P. Peterson, et al., “SciPy: Open source scientific tools for Python,” https:/​/​www.scipy.org/​ (2001).
https:/​/​www.scipy.org/​

[24] A. Pérez-Salinas, “Quantum classifier with data re-uploading,” https:/​/​github.com/​AdrianPerezSalinas/​universal_qlassifier (2019).
https:/​/​github.com/​AdrianPerezSalinas/​universal_qlassifier

[25] S. Ahmed, “Data-reuploading classifer,” https:/​/​pennylane.ai/​qml/​app/​tutorial_data_reuploading_classifier.html (2019).
https:/​/​pennylane.ai/​qml/​app/​tutorial_data_reuploading_classifier.html

[26] J. Romero, R. Babbush, J. R. McClean, C. Hempel, P. J. Love, and A. Aspuru-Guzik, Quantum Science and Technology 4, 014008 (2018).
https:/​/​doi.org/​10.1088/​2058-9565/​aad3e4

Cited by

[1] Seth Lloyd, Maria Schuld, Aroosa Ijaz, Josh Izaac, and Nathan Killoran, “Quantum embeddings for machine learning”, arXiv:2001.03622.

[2] Sergi Ramos-Calderer, Adrián Pérez-Salinas, Diego García-Martín, Carlos Bravo-Prieto, Jorge Cortada, Jordi Planagumà, and José I. Latorre, “Quantum unary approach to option pricing”, arXiv:1912.01618.

The above citations are from SAO/NASA ADS (last updated successfully 2020-02-06 14:31:00). The list may be incomplete as not all publishers provide suitable and complete citation data.

Could not fetch Crossref cited-by data during last attempt 2020-02-06 14:30:58: Could not fetch cited-by data for 10.22331/q-2020-02-06-226 from Crossref. This is normal if the DOI was registered recently.

Source: https://quantum-journal.org/papers/q-2020-02-06-226/

spot_img

Latest Intelligence

spot_img

Chat with us

Hi there! How can I help you?