Notational Programming for Notebook Environments: A Case Study with Quantum Circuits
Ian Arawjo, Anthony DeArmas, Michael Roberts, Shrutarshi Basu, Tapan S. Parikh
Abstract
We articulate a vision for computer programming that includes pen-based computing, a paradigm we term notational programming. Notational programming blurs contexts: certain typewritten variables can be referenced in handwritten notation and vice-versa. To illustrate this paradigm, we developed an extension, Notate, to computational notebooks which allows users to open drawing canvases within lines of code. As a case study, we explore quantum programming and designed a notation, Qaw, that extends quantum circuit notation with abstraction features, such as variable-sized wire bundles and recursion. Results from a usability study with novices suggest that users find our core interaction of implicit cross-context references intuitive, but suggests further improvements to debugging infrastructure, interface design, and recognition rates. Throughout, we discuss questions raised by the notational paradigm, including a shift from ‘recognition’ of notations to ‘reconfiguration’ of practices and values around programming, and from ‘sketching’ to writing and drawing, or what we call ‘notating.’
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Lorgnette: Creating Malleable Code Projections cites B2: Bridging Code and Interactive Visualization in Computational Notebooks
- Lorgnette: Creating Malleable Code Projections cites mage: Fluid Moves Between Code and Graphical Work in Computational Notebooks
- B2: Bridging Code and Interactive Visualization in Computational Notebooks cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
- How Notations Evolve: A Historical Analysis with Implications for Supporting User-Defined Abstractions cites Code Shaping: Iterative Code Editing with Free-form AI-Interpreted Sketching
- How Notations Evolve: A Historical Analysis with Implications for Supporting User-Defined Abstractions cites EuterPen: Unleashing Creative Expression in Music Score Writing
- How Notations Evolve: A Historical Analysis with Implications for Supporting User-Defined Abstractions cites Taking ASCII Drawings Seriously: How Programmers Diagram Code
- Taking ASCII Drawings Seriously: How Programmers Diagram Code cites Lorgnette: Creating Malleable Code Projections
Cited by top-tier papers6
- Code Shaping: Iterative Code Editing with Free-form AI-Interpreted SketchingRyan Yen, Jian Zhao, Daniel VogelCHI 2025 · 32 citations
- Lorgnette: Creating Malleable Code ProjectionsCamille Gobert, Michel Beaudouin-LafonUIST 2023 · 13 citations
- Taking ASCII Drawings Seriously: How Programmers Diagram CodeDevamardeep Hayatpur, Brian Hempel, Kathy Chen, William Duan et al.CHI 2024 · 7 citations
- EuterPen: Unleashing Creative Expression in Music Score WritingVincent Cavez, Catherine Letondal, Caroline Appert, Emmanuel PietrigaCHI 2025 · 6 citations
- How Notations Evolve: A Historical Analysis with Implications for Supporting User-Defined AbstractionsJingyue Zhang, J. D. Zamfirescu-Pereira, Elena L. Glassman, Damien Masson et al.CHI 2026 · 2 citations
Builds on12
- Re-examining Whether, Why, and How Human-AI Interaction Is Uniquely Difficult to DesignQian Yang, Aaron Steinfeld, Carolyn P. Rosé, John ZimmermanCHI 2020 · 604 citations
- What's Wrong with Computational Notebooks? Pain Points, Needs, and Design OpportunitiesSouti Chattopadhyay, Ishita Prasad, Austin Z. Henley, Anita Sarma et al.CHI 2020 · 162 citations
- FlowMatic: An Immersive Authoring Tool for Creating Interactive Scenes in Virtual RealityLei Zhang, Steve OneyUIST 2020 · 95 citations
- B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
- mage: Fluid Moves Between Code and Graphical Work in Computational NotebooksMary Beth Kery, Donghao Ren, Fred Hohman, Dominik Moritz et al.UIST 2020 · 66 citations
Related papers
- Notational Animating: An Interactive Approach to Creating and Editing Animation KeyframesXinyu Shi, Li-Yi Wei, Nanxuan Zhao, Jian Zhao et al.CHI 2026 · 1 citation
- Denicek: Computational Substrate for Document-Oriented End-User ProgrammingTomas Petricek, Jonathan EdwardsUIST 2025 · 2 citations
- Pattern-Based Generation and Adaptation of Quantum WorkflowsMartin Beisel, Johanna Barzen, Frank Leymann, Lavinia Stiliadou et al.ICSE 2025
- To Write Code: The Cultural Fabrication of Programming Notation and PracticeIan ArawjoCHI 2020 · 31 citations
- Semantics for variational Quantum programmingXiaodong Jia, Andre Kornell, Bert Lindenhovius, Michael W. Mislove et al.POPL 2022 · 15 citations
