Advertisement

A Deep-Learning-Based Proposal to Aid Users in Quantum Computing Programming

  • Juan Cruz-BenitoEmail author
  • Ismael Faro
  • Francisco Martín-Fernández
  • Roberto Therón
  • Francisco J. García-Peñalvo
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10925)

Abstract

New languages like Open QASM and SDKs like QISKit open new horizons for the research and development in the new paradigm of quantum computing. Despite that, they present an evident learning curve that could be hard for regular developers and newcomers in the field of quantum computing. On the other hand, currently there are many ways to build intelligent systems that can learn from humans and processes to build a knowledge corpus and provide a different kind of help to humans in tasks like aiding in decision making processes, recommending multimedia resources, building conversational agents, etc. In this paper we describe a work-in-progress project developed by the IBM Q team that implements an intelligent system based on a deep learning approach that learns how people code using the Open QASM language to later offer help and guidance to the coders by recommending different code sequences, logical steps or even small pieces of code. During the paper, we describe our current approach and first results. They include the use of seq2seq neural networks that effectively learn quantum-code sequences, and which will be tested in real context in the near future to improve the user experience in IBM Q Experience products.

Keywords

Deep learning Artificial intelligence Quantum computing Programming Open QASM QISKit 

Notes

Acknowledgement

We thank to the ACQX (AI Challenges & Quantum Experience Team at IBM Research) and to the GRIAL research group team for the useful discussions and the feedback received.

References

  1. 1.
    Cross, A.W., Bishop, L.S., Smolin, J.A., Gambetta, J.M.: Open quantum assembly language (2017). arXiv preprint arXiv:1707.03429
  2. 2.
    Cross, A.: The IBM Q experience and QISKit open-source quantum computing software. Bull. Am. Phys. Soc. (2018)Google Scholar
  3. 3.
    IBM Research, QISKit. Quantum Information Software Kit. Accessed 18 Feb 2018. https://www.qiskit.org/
  4. 4.
    Kandala, A., Mezzacapo, A., Temme, K., Takita, M., Brink, M., Chow, J.M., Gambetta, J.M.: Hardware-efficient variational quantum eigensolver for small molecules and quantum magnets. Nature 549, 242 (2017)CrossRefGoogle Scholar
  5. 5.
    Ristè, D., da Silva, M.P., Ryan, C.A., Cross, A.W., Córcoles, A.D., Smolin, J.A., Gambetta, J.M., Chow, J.M., Johnson, B.R.: Demonstration of quantum advantage in machine learning. npj Quantum. Information 3, 16 (2017)Google Scholar
  6. 6.
    Nilsson, N.J.: Principles of artificial intelligence. Morgan Kaufmann, Massachusetts (2014)zbMATHGoogle Scholar
  7. 7.
    Raschka, S.: Python machine learning. Packt Publishing Ltd., Birmingham (2015)Google Scholar
  8. 8.
    Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Prettenhofer, P., Weiss, R., Dubourg, V.: Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011)MathSciNetzbMATHGoogle Scholar
  9. 9.
    Goodfellow, I., Bengio, Y., Courville, A.: Deep learning. MIT Press, Cambridge (2016)zbMATHGoogle Scholar
  10. 10.
    LeCun, Y., Bengio, Y., Hinton, G.: Deep learning. Nature 521, 436–444 (2015)CrossRefGoogle Scholar
  11. 11.
    ISO/DIS: 9241-210: 2010. Ergonomics of human system interaction-Part 210: human-centred design for interactive systems. International Standardization Organization (ISO). Switzerland (2009)Google Scholar
  12. 12.
    ISO/DIS: Draft BS ENISO 9241-220 Ergonomics of human-computer interaction. part 220: processes for enabling, executing and assessing human-centred design within organizations (2016)Google Scholar
  13. 13.
    Castelvecchi, D.: Quantum cloud goes commercial. Nature 543, 159 (2017)CrossRefGoogle Scholar
  14. 14.
    Lee, S., Choi, J.: Enhancing user experience with conversational agent for movie recommendation: Effects of self-disclosure and reciprocity. Int. J. Hum. Comput. Stud. 103, 95–105 (2017)CrossRefGoogle Scholar
  15. 15.
    Shneiderman, S.B., Plaisant, C.: Designing the user interface, 4th edn. Pearson Addison Wesley, USA (2005)Google Scholar
  16. 16.
    The Linux Information Project, Source Code Definition. Accessed 20 Feb 2018. http://www.linfo.org/source_code.html
  17. 17.
    Harman, M.: Why source code analysis and manipulation will always be important. In: 10th IEEE Working Conference on Source Code Analysis and Manipulation (SCAM), pp. 7–19. IEEE (2010)Google Scholar
  18. 18.
    IBM Research, The IBM Quantum Experience. Accessed 18 Feb 2018. https://www.research.ibm.com/ibm-q/
  19. 19.
    Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: Advances in neural information processing systems, pp. 3104–3112 (2014)Google Scholar
  20. 20.
    Cho, K., Van Merriënboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., Bengio, Y.: Learning phrase representations using RNN encoder-decoder for statistical machine translation (2014). arXiv preprint. arXiv:1406.1078
  21. 21.
    Vinyals, O., Le, Q.: A neural conversational model (2015). arXiv preprint. arXiv:1506.05869 (2015)
  22. 22.
    Bahdanau, D., Cho, K., Bengio, Y.: Neural machine translation by jointly learning to align and translate (2014). arXiv preprint. arXiv:1409.0473
  23. 23.
    Neubig, G.: Neural machine translation and sequence-to-sequence models: A tutorial (2017). arXiv preprint. arXiv:1703.01619
  24. 24.
    Robertson, S.: Translation with a Sequence to Sequence Network and Attention. Accessed 20 Feb 2018. http://pytorch.org/tutorials/intermediate/seq2seq_translation_tutorial.html
  25. 25.
    Cruz-Benito, J., Vázquez-Ingelmo, A., Sánchez-Prieto, J.C., Therón, R., García-Peñalvo, F.J., Martín-González, M.: Enabling adaptability in web forms based on user characteristics detection through A/B testing and machine learning. IEEE Access. 6, 2251–2265 (2018)CrossRefGoogle Scholar
  26. 26.
    Loup-Escande, E., Frenoy, R., Poplimont, G., Thouvenin, I., Gapenne, O., Megalakaki, O.: Contributions of mixed reality in a calligraphy learning task: Effects of supplementary visual feedback and expertise on cognitive load, user experience and gestural performance. Comput. Hum. Behav. 75, 42–49 (2017)CrossRefGoogle Scholar
  27. 27.
    Paszke, A., Gross, S., Chintala, S., Chanan, G.: PyTorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration. Accessed 20 Feb 2018. https://github.com/pytorch/pytorch, IBM Research, pytorch-seq2seq. Accessed 20 Feb 2018. https://github.com/IBM/pytorch-seq2seq
  28. 28.
    Wiseman, S., Rush, A.M.: Sequence-to-sequence learning as beam-search optimization (2016). arXiv preprint arXiv:1606.02960
  29. 29.
    IBM Research, Open QASM. Gate and operation specification for quantum circuits. Accessed 20 Feb 2018. https://github.com/QISKit/openqasm
  30. 30.
    Deutsch, D., Jozsa, R.: Rapid solution of problems by quantum computation. In: Proceedings of the Royal Society of London. A, pp. 553–558. The Royal Society (1992)MathSciNetCrossRefGoogle Scholar
  31. 31.
    Open Neural Network Exchange, ONNX Github repository. Accessed 20 feb 2018. https://github.com/onnx/onnx

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • Juan Cruz-Benito
    • 1
    Email author
  • Ismael Faro
    • 1
  • Francisco Martín-Fernández
    • 1
  • Roberto Therón
    • 2
  • Francisco J. García-Peñalvo
    • 2
  1. 1.IBM Research. T.J. Watson Research CenterYorktown HeightsUSA
  2. 2.GRIAL Research Group, Department of Computer ScienceUniversity of SalamancaSalamancaSpain

Personalised recommendations