Architecture for a Trustworthy Quantum Chatbot
- URL: http://arxiv.org/abs/2503.04875v1
- Date: Thu, 06 Mar 2025 16:43:23 GMT
- Title: Architecture for a Trustworthy Quantum Chatbot
- Abstract summary: This article describes the latest version (2.0) of C4Q, which delivers several enhancements.<n>C4Q 2.0's classification LLM reaches near-perfect accuracy.<n>The evaluation consists in a comparative study with three existing chatbots highlighting C4Q 2.0's maintainability and correctness.
- Score: 0.0
- License: http://creativecommons.org/licenses/by-nc-nd/4.0/
- Abstract: Large language model (LLM)-based tools such as ChatGPT seem useful for classical programming assignments. The more specialized the field, the more likely they lack reliability because of the lack of data to train them. In the case of quantum computing, the quality of answers of generic chatbots is low. C4Q is a chatbot focused on quantum programs that addresses this challenge through a software architecture that integrates specialized LLMs to classify requests and specialized question answering modules with a deterministic logical engine to provide trustworthy quantum computing support. This article describes the latest version (2.0) of C4Q, which delivers several enhancements: ready-to-run Qiskit code for gate definitions and circuit operations, expanded features to solve software engineering tasks such as the travelling salesperson problem and the knapsack problem, and a feedback mechanism for iterative improvement. Extensive testing of the backend confirms the system's reliability, while empirical evaluations show that C4Q 2.0's classification LLM reaches near-perfect accuracy. The evaluation of the result consists in a comparative study with three existing chatbots highlighting C4Q 2.0's maintainability and correctness, reflecting on how software architecture decisions, such as separating deterministic logic from probabilistic text generation impact the quality of the results.
Related papers
- AQER: a scalable and efficient data loader for digital quantum computers [62.40228216126285]
We develop AQER, a scalable AQL method that constructs the loading circuit by systematically reducing entanglement in target states.<n>We conduct systematic experiments to evaluate the effectiveness of AQER, using synthetic datasets, classical image and language datasets, and a quantum many-body state datasets with up to 50 qubits.
arXiv Detail & Related papers (2026-02-02T14:39:42Z) - Bench4KE: Benchmarking Automated Competency Question Generation [1.2512982702508668]
Bench4KE is an API-based benchmarking system for Knowledge Engineering automation.<n>It provides a curated gold standard consisting of CQ datasets from four real-world ontology projects.<n>It uses a suite of similarity metrics to assess the quality of the CQs generated.
arXiv Detail & Related papers (2025-05-30T13:03:42Z) - An Efficient Quantum Classifier Based on Hamiltonian Representations [50.467930253994155]
Quantum machine learning (QML) is a discipline that seeks to transfer the advantages of quantum computing to data-driven tasks.
We propose an efficient approach that circumvents the costs associated with data encoding by mapping inputs to a finite set of Pauli strings.
We evaluate our approach on text and image classification tasks, against well-established classical and quantum models.
arXiv Detail & Related papers (2025-04-13T11:49:53Z) - QITE: Assembly-Level, Cross-Platform Testing of Quantum Computing Platforms [21.351834312054844]
Quantum computing platforms are susceptible to quantum-specific bugs.
QITE is the first cross-platform testing framework for quantum computing platforms.
We evaluate QITE on four widely-used quantum computing platforms.
arXiv Detail & Related papers (2025-03-21T17:17:51Z) - Comparative Analysis of Quantum and Classical Support Vector Classifiers for Software Bug Prediction: An Exploratory Study [8.214986715680737]
We investigate the practical application of Quantum Support Vectors (QSVC) for detecting buggy software commits.<n>Our technique addresses large datasets in QSVC algorithms by dividing them into smaller subsets.<n>We propose an aggregation method to combine predictions from these models to detect the entire test dataset.
arXiv Detail & Related papers (2025-01-08T18:53:50Z) - QICS: Quantum Information Conic Solver [6.281229317487581]
We introduce QICS, an open-source primal-dual interior point solver fully implemented in Python.
QICS has the ability to solve optimization problems involving the quantum relative entropy.
We showcase extensive numerical experiments which demonstrate that QICS outperforms state-of-the-art quantum relative entropy programming solvers.
arXiv Detail & Related papers (2024-10-23T12:00:24Z) - Architecting a reliable quantum operating system: microkernel, message passing and supercomputing [55.616364225463066]
A quantum operating system (QCOS) is a classic software running on classic hardware.
We discuss why a QCOS should be architected according to the following principles.
arXiv Detail & Related papers (2024-10-17T12:24:55Z) - QCircuitBench: A Large-Scale Dataset for Benchmarking Quantum Algorithm Design [63.02824918725805]
Quantum computing is recognized for the significant speedup it offers over classical computing through quantum algorithms.<n>QCircuitBench is the first benchmark dataset designed to evaluate AI's capability in designing and implementing quantum algorithms.
arXiv Detail & Related papers (2024-10-10T14:24:30Z) - Generalization Error Bound for Quantum Machine Learning in NISQ Era -- A Survey [37.69303106863453]
We conduct a Systematic Mapping Study (SMS) to explore the state-of-the-art generalization bound for supervised Quantum Machine Learning (QML) in the Noisy Intermediate-Scale Quantum (NISQ) era.<n>Our study systematically summarizes the existing computational platforms with quantum hardware, datasets, optimization techniques, and the common properties of the bounds found in the literature.<n>The SMS also highlights the limitations and challenges in QML in the NISQ era and discusses future research directions to advance the field.
arXiv Detail & Related papers (2024-09-11T21:17:30Z) - Unifying (Quantum) Statistical and Parametrized (Quantum) Algorithms [65.268245109828]
We take inspiration from Kearns' SQ oracle and Valiant's weak evaluation oracle.
We introduce an extensive yet intuitive framework that yields unconditional lower bounds for learning from evaluation queries.
arXiv Detail & Related papers (2023-10-26T18:23:21Z) - QADYNAMICS: Training Dynamics-Driven Synthetic QA Diagnostic for
Zero-Shot Commonsense Question Answering [48.25449258017601]
State-of-the-art approaches fine-tune language models on QA pairs constructed from CommonSense Knowledge Bases.
We propose QADYNAMICS, a training dynamics-driven framework for QA diagnostics and refinement.
arXiv Detail & Related papers (2023-10-17T14:27:34Z) - QKSAN: A Quantum Kernel Self-Attention Network [53.96779043113156]
A Quantum Kernel Self-Attention Mechanism (QKSAM) is introduced to combine the data representation merit of Quantum Kernel Methods (QKM) with the efficient information extraction capability of SAM.
A Quantum Kernel Self-Attention Network (QKSAN) framework is proposed based on QKSAM, which ingeniously incorporates the Deferred Measurement Principle (DMP) and conditional measurement techniques.
Four QKSAN sub-models are deployed on PennyLane and IBM Qiskit platforms to perform binary classification on MNIST and Fashion MNIST.
arXiv Detail & Related papers (2023-08-25T15:08:19Z) - Improving Text Matching in E-Commerce Search with A Rationalizable,
Intervenable and Fast Entity-Based Relevance Model [78.80174696043021]
We propose a novel model called the Entity-Based Relevance Model (EBRM)
The decomposition allows us to use a Cross-encoder QE relevance module for high accuracy.
We also show that pretraining the QE module with auto-generated QE data from user logs can further improve the overall performance.
arXiv Detail & Related papers (2023-07-01T15:44:53Z) - Implications of Deep Circuits in Improving Quality of Quantum Question
Answering [0.0]
We have performed question classification on questions from two classes of SelQA (Selection-based Question Answering) dataset.
We also use these classification results with our own rule-based QA system and observe significant performance improvement.
arXiv Detail & Related papers (2023-05-12T10:52:13Z) - QSAN: A Near-term Achievable Quantum Self-Attention Network [73.15524926159702]
Self-Attention Mechanism (SAM) is good at capturing the internal connections of features.
A novel Quantum Self-Attention Network (QSAN) is proposed for image classification tasks on near-term quantum devices.
arXiv Detail & Related papers (2022-07-14T12:22:51Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.