Automated Program Repair (APR) is a vital area in software engineering aimed at generating automatic patches for vulnerable programs. While numerous techniques have been proposed for repairing classical programs, the realm of quantum programming lacks a comparable automated repair technique. In this initial exploration, we investigate the use of ChatGPT for quantum program repair and evaluate its performance on Bugs4Q, a benchmark suite of quantum program bugs.
Our findings demonstrate the feasibility of employing ChatGPT for quantum program repair. Specifically, we assess ChatGPT’s ability to address bugs within the Bugs4Q benchmark, revealing its success in repairing 29 out of 38 bugs. This research represents a promising step towards automating the repair process for quantum programs.
Tue 16 AprDisplayed time zone: Lisbon change
11:00 - 12:30 | Quality Assurance for Quantum SoftwareQ-SE at Carlos Paredes Chair(s): Ricardo Pérez-Castillo University of Castilla-La Mancha | ||
11:00 30mResearch paper | Delta Debugging for Property-Based Regression Testing of Quantum Programs Q-SE | ||
11:30 30mResearch paper | On Repairing Quantum Programs Using ChatGPT Q-SE | ||
12:00 20mShort-paper | On the Need for Effective Tools for Debugging Quantum Programs Q-SE Olivia Di Matteo University of British Columbia |