Teaching Quantum Design Automation with Block-Based Programming
Damian Rovara, Robert Wille
Abstract
As quantum circuits grow beyond small toy examples, preparing them for execution on physical devices becomes increasingly complex. Design automation is therefore essential for scalable quantum computing: Compilation procedures optimize resource requirements and transform circuits to a format compatible with specific hardware; resource estimation evaluates execution cost; verification methods prove circuit correctness. However, these concepts present a steep learning curve for novices, particularly when quantum circuits are introduced through low-level textual representations. To address this, we present a block-based programming framework for quantum design automation, implemented as an extension to the Scratch programming platform. This system allows users to build quantum circuits as a sequence of blocks and embed them in classical control logic to perform evaluations, compare simulation results, and directly apply different design automation techniques. We evaluated the approach in a user study with computer science students, who completed guided exercises using the platform and provided structured feedback in the form of self-reports and short knowledge assessments. Results demonstrate strong understanding and confidence in quantum design automation concepts, suggesting that the block-based approach successfully lowers the entry barrier to quantum design automation. The implemented framework is open-source and available at https://github.com/munich-quantum-toolkit/scratch-quantum.
Create a lesson
Related papers
AI-Augmented Inquiry and Regulation in Hybrid Systems: A Control Allocation Architecture for Preserving Epistemic Agency in Hybrid Human-AI Cognition
Jochen Kuhn, Peter Gerjets, Ulrich Trautwein et al.
Using Gemini and LuaLaTeX to transcribe physics videos into PDF/UA-2 and ISO 32005 math-accessible PDFs
Craig W. Looney, Christopher L. Duston
Large Scale AI Grading of Handwritten Physics Assessments: Score Agreement and Olympiad Team Selection Outcomes
Praveen Pathak, Siddharth Tiwary, Charudatt Kadolkar et al.
Measuring student understanding in quantum computing: Development and validation of the Quantum Computing Conceptual Survey
Josephine C. Meyer, Molly Griston, Gina Passante et al.
PhysTrackX: Open-Source Software for Kinematics Tracking for the Physics Laboratory
Isam Abdullah Balghari, Muhammad Sabieh Anwar
Development of the RIOT 2 for use in LA-supported classrooms
Gina M. Quan, Cassandra Paul, Nithin Keshavamurthy et al.