C4Q: A Chatbot for Quantum (2402.01738v1)
Abstract: Quantum computing is a growing field that promises many real-world applications such as quantum cryptography or quantum finance. The number of people able to use quantum computing is however still very small. This limitation comes from the difficulty to understand the concepts and to know how to start coding. Therefore, there is a need for tools that can assist non-expert in overcoming this complexity. One possibility would be to use existing conversational agents. Unfortunately ChatGPT and other Large-LLMs produce inaccurate results. This article presents C4Q, a chatbot that answers accurately basic questions and guides users when trying to code quantum programs. Contrary to other approaches C4Q uses a pre-trained LLM only to discover and classify user requests. It then generates an accurate answer using an own engine. Thanks to this architectural design, C4Q's answers are always correct, and thus C4Q can become a support tool that makes quantum computing more available to non-experts.
- Open AI. 2023. ChatGPT. https://chat.openai.com/. [Online; accessed Dec 7, 2023].
- Benefits and Risks of Using ChatGPT as a Support Tool for Teaching in Computer Science. [Manuscript submitted for publication].
- Nicholas bertin. 2023. Quantum AI Chatbot. Quantum Theory Translator and Progressive Trainer with Web Scraping. https://chat.openai.com/g/g-88lKMti7q-quantum-ai-chatbot?utm_source=gptshunter.com
- Context-Aware Conversational Developer Assistants. In Proceedings of the 40th International Conference on Software Engineering (Gothenburg, Sweden) (ICSE ’18). Association for Computing Machinery, New York, NY, USA, 993–1003. https://doi.org/10.1145/3180155.3180238
- Automatic Contract Insertion with CCBot. IEEE Trans. Software Eng. 43, 8 (2017), 701–714. https://doi.org/10.1109/TSE.2016.2625248
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv:1810.04805 [cs.CL]
- Damian Okaibedi Eke. 2023. ChatGPT and the rise of generative AI: Threat to academic integrity? Journal of Responsible Technology 13 (2023), 100060. https://doi.org/10.1016/j.jrt.2023.100060
- Current and Future Bots in Software Development. In 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE). IEEE, 445 Hoes Lane, Piscataway, NJ 08854., 7–11. https://doi.org/10.1109/BotSE.2019.00009
- Hugging Face. 2023a. Bert. https://huggingface.co/docs/transformers/v4.35.2/en/model_doc/bert#transformers.BertForSequenceClassification. [Online; accessed Dec 3, 2023].
- Hugging Face. 2023b. Bert. https://huggingface.co/docs/transformers/v4.35.2/en/model_doc/bert#transformers.BertForQuestionAnswering. [Online; accessed Dec 3, 2023].
- Julia Kotovich and Manuel Oriol. 2023. Is ChatGPT 3 Safe for Students?. In Frontiers in Software Engineering Education, Alfredo Capozucca, Sophie Ebersold, Jean-Michel Bruel, and Bertrand Meyer (Eds.). Springer Nature Switzerland, Cham, 100–107.
- MYCRUNCHGPT: A LLM ASSISTED FRAMEWORK FOR SCIENTIFIC MACHINE LEARNING. Journal of Machine Learning for Modeling and Computing 4, 4 (2023), 41–72.
- Generative AI and the future of education: Ragnarök or reformation? A paradoxical perspective from management educators. The International Journal of Management Education 21, 2 (2023), 100790. https://doi.org/10.1016/j.ijme.2023.100790
- Ilya Loshchilov and Frank Hutter. 2019. Decoupled Weight Decay Regularization. arXiv:1711.05101 [cs.LG]
- M. Monperrus. 2019. Explainable Software Bot Contributions: Case Study of Automated Bug Fixes. In 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE). IEEE Computer Society, Los Alamitos, CA, USA, 12–15. https://doi.org/10.1109/BotSE.2019.00010
- CHATGPT-4: First Approach to its use, scope and limitations in quantum algorithms. https://www.quantumpath.es/2023/03/31/chatgpt-4-first-approach-to-its-use-scope-and-limitations-in-quantum-algorithms/
- CHATGPT-4: First Approach to its use, scope and limitations in quantum algorithms. https://quantum.microsoft.com/en-us/experience/quantum-coding
- San Murugesan and Aswani Kumar Cherukuri. 2023. The Rise of Generative Artificial Intelligence and Its Impact on Education: The Promises and Perils. Computer 56, 5 (2023), 116–121. https://doi.org/10.1109/MC.2023.3253292
- PostgreSQL. 2023. PostgreSQL: The World’s Most Advanced Open Source Database. https://www.postgresql.org/. [Online; accessed Dec 3, 2023].
- Psycopg. 2022. PostgreSQL driver for Python x2014; Psycopg — psycopg.org. https://www.psycopg.org/. [Online; accessed Dec 7, 2023].
- PyTorch. 2023. AdamW; PyTorch 2.1 documentation — pytorch.org. https://pytorch.org/docs/stable/generated/torch.optim.AdamW.html. [Online; accessed Dec 7, 2023].
- Thilina Rajapakse. 2020. simpletransformers · PyPI. Thilina Rajapakse. Retrieved Dec 3, 2023 from https://pypi.org/project/simpletransformers/0.26.0/
- Bots in software engineering: a systematic mapping study. PeerJ Comput Science 8 (2022).
- Vishnu Sivan. 2023. Build your custom chatbot using chatgpt. https://medium.com/coinmonks/build-your-custom-chatbot-using-chatgpt-1393e4d5a300
- Sodoherty. 2021. Creating a quantum computer chatbot. https://sodoherty.ai/2021/03/09/creating-a-quantum-computer-chatbot/
- APIBot: Question answering bot for API documentation. In 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE). Association for Computing Machinery (ACM) and IEEE Computer Society (IEEE-CS), 153–158. https://doi.org/10.1109/ASE.2017.8115628
- How to Design a Program Repair Bot? Insights from the Repairnator Project. In Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice (Gothenburg, Sweden) (ICSE-SEIP ’18). Association for Computing Machinery, New York, NY, USA, 95–104. https://doi.org/10.1145/3183519.3183540
- Wikipedia contributors. 2023. Quantum logic gate. https://en.wikipedia.org/wiki/Quantum_logic_gate. [Online; accessed Dec 3, 2023].
- Marvin Wyrich and Justus Bogner. 2019. Towards an Autonomous Bot for Automatic Source Code Refactoring. In 2019 IEEE/ACM 1st International Workshop on Bots in Software Engineering (BotSE). Association for Computing Machinery (ACM) and IEEE Computer Society (IEEE-CS), 24–28. https://doi.org/10.1109/BotSE.2019.00015
- Yaiza Aragonés-Soria. 2023a. Backend test report. https://github.com/yaiza-aragonessoria/chatbot4QC/blob/main/backend/chatbot/tests/ReportTests_backend.html.
- Yaiza Aragonés-Soria. 2023b. QA LLM perfomance test report. https://github.com/yaiza-aragonessoria/chatbot4QC/blob/main/backend/chatbot/tests/ReportTest_LLM_QA_performance.html.
- Ramazan Yilmaz and Fatma Gizem Karaoglan Yilmaz. 2023. The effect of generative artificial intelligence (AI)-based tool use on students’ computational thinking skills, programming self-efficacy and motivation. Computers and Education: Artificial Intelligence 4 (2023), 100147. https://doi.org/10.1016/j.caeai.2023.100147