Skip to main content
Log in

Compact data encoding for data re-uploading quantum classifier

  • Published:
Quantum Information Processing Aims and scope Submit manuscript

Abstract

In the realm of quantum machine learning, different genres of quantum classifiers have been designed to classify classical data. Recently, a quantum classifier that features re-uploading the sample to be classified many times along the quantum circuit was proposed. Data re-uploading allows circumventing the limitations established by the no-cloning theorem. This quantum classifier has great potential in NISQ-era, because it requires very few qubits due to the special data encoding scheme it used. Previous work showed that even a single-qubit could constitute effective classifiers for problems with up to 4 dimensions. In this work, we focus our attention on the data encoding scheme of this quantum classifier, we propose an alternative way to encode the input sample in order to reduce by half the number of learnable parameters of the quantum circuit and simplify the computation, so the training time can be greatly shortened. Numerical results show that the new data encoding method achieves higher accuracy for high-dimensional data while using less parameters.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. An SU(2) unitary can be decomposed into three consecutive rotation gates, for example, \(U=R_z(\theta _1)R_y(\theta _2)R_z(\theta _3)\).

References

  1. Dunjko, V., Wittek, P.: A non-review of quantum machine learning: trends and explorations. Quantum Views 4, 32 (2020)

    Article  Google Scholar 

  2. Li, W.K., Deng, D.L.: Recent advances for quantum classifiers. Sci. China Phys. Mech. Astron. 65, 220301 (2022)

    Article  ADS  Google Scholar 

  3. Benedetti, M., Lloyd, E., Sack, S., Fiorentini, M.: Parameterized quantum circuits as machine learning models. Quantum Sci. Technol. 4, 043001 (2019)

    Article  ADS  Google Scholar 

  4. Schuld, M., Bocharov, A., Svore, K., Wiebe, N.: Circuit-centric quantum classifiers. Phys. Rev. A 101, 032308 (2020)

    Article  ADS  MathSciNet  Google Scholar 

  5. Yang, Z.W., Zhang, X.D.: Entanglement-based quantum deep learning. New J. Phys. 22, 033041 (2020)

    Article  ADS  MathSciNet  Google Scholar 

  6. Grant, E., Benedetti, M., Cao, S.X., et al.: Hierarchical quantum classifiers. NPJ Quantum Inform. 4, 65 (2018)

    Article  ADS  Google Scholar 

  7. Huggins, W., Patil, P., Mitchell, B., Whaley, K.B., Stoudenmire, E.M.: Towards quantum machine learning with tensor networks. Quantum Sci. Technol. 4, 024001 (2019)

    Article  ADS  Google Scholar 

  8. Plesch, M., Brukner, Č: Quantum-state preparation with universal gate decompositions. Phys. Rev. A 83, 032302 (2011)

    Article  ADS  Google Scholar 

  9. Preskill, J.: Quantum computing in the NISQ era and beyond. Quantum 2, 79 (2018)

    Article  Google Scholar 

  10. Havlíček, V., Córcoles, A.D., Temme, K., et al.: Supervised learning with quantum-enhanced feature spaces. Nature 567, 209 (2019)

    Article  ADS  Google Scholar 

  11. Pérez-Salinas, A., Cervera-Lierta, A., Gil-Fuster, E., Latorre, J.I.: Data re-uploading for a universal quantum classifier. Quantum 4, 226 (2020)

    Article  Google Scholar 

  12. Bishop, C.M.: Pattern Recognition and Machine Learning. Springer, New York (2006)

  13. Byrd, R.H., Lu, P., Nocedal, J., Zhu, C.: A limited memory algorithm for bound constrained optimization. SIAM J. Sci. Comput. 16, 1190 (1995)

    Article  MathSciNet  Google Scholar 

  14. Virtanen, P., Gommers, R., Oliphant, T.E.: SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nature Methods 17, 261 (2020)

    Article  Google Scholar 

  15. Pedregosa, F., Varoquaux, G., Gramfort, A., et al.: Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825 (2011)

    MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

We are very grateful to the reviewers and the editors for their invaluable comments and detailed suggestions that helped to improve the quality of the present paper. This work is supported by Guangdong Basic and Applied Basic Research Foundation (No. 2020A1515011204) and the National Natural Science Foundation of China (No. 61772565).

Author information

Authors and Affiliations

Authors

Ethics declarations

Data availability statement

No data were used during the study. All codes that support the findings of this study are available from the corresponding author upon reasonable request.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Fan, L., Situ, H. Compact data encoding for data re-uploading quantum classifier. Quantum Inf Process 21, 87 (2022). https://doi.org/10.1007/s11128-022-03429-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11128-022-03429-5

Keywords

Navigation