CircInspect: Integrating Visual Circuit Analysis, Abstraction, and Real-Time Development in Quantum Debugging
Mushahid Khan, Prashant J. Nair, Olivia Di Matteo
TL;DR
The paper addresses the challenges of debugging quantum software by introducing CircInspect, an interactive tool with debugger and real-time development modes built for Python and PennyLane. It offers multi-level circuit visualization, function-level abstraction, and breakpoint-driven inspection to improve comprehension and debugging efficiency in quantum programs. The authors detail the tool’s technology stack, its two operational modes, and its planned evaluation framework, while outlining future work to enhance scalability, multi-file support, and circuit analytics. This work aims to streamline quantum software development and provide an extensible, open-source platform for visual and real-time quantum debugging.
Abstract
Software bugs typically result from errors in specifications or code translation. While classical software engineering has evolved with various tools and methodologies to tackle such bugs, the emergence of quantum computing presents unique challenges. Quantum software development introduces complexities due to the probabilistic nature of quantum computing, distinct algorithmic primitives, and potential hardware noise. In this paper, we introduce CircInspect, an interactive tool tailored for debugging quantum programs in Python and PennyLane. By leveraging breakpoints and real-time software development features, \toolname~empowers users to analyze isolated quantum circuit components, monitor program output, visualize structural changes, and abstract information to enhance comprehension.
