AG-2024.04-2004·quant-ph·cross-listed: cs.PL
Qwerty: A Basis-Oriented Quantum Programming Language
Authors
- Austin J. Adams
- Sharjeel Khan
- Arjun S. Bhamra
- Ryan R. Abusaada
- Jeffrey S. Young
- Thomas M. Conte
Abstract
Quantum computers have leaped from the theoretical realm into a race to large-scale implementations. This is due to the promise of revolutionary speedups, where achieving such speedup requires designing an algorithm that harnesses the structure of a problem using quantum mechanics. Yet many quantum programming languages today require programmers to reason at a low level of physics notation and quantum gate circuitry. This presents a significant barrier to entry for programmers who have not yet built up an intuition about quantum gate semantics, and it can prove to be tedious even for those who have. In this paper, we present Qwerty, a new quantum programming language that allows programmers to manipulate qubits more expressively than gates and trace programs without bra-ket notation. Due to its novel basis type and easy interoperability with Python, Qwerty is a powerful framework for high-level quantum-classical computation.
Submitted
19 April 20242 years ago
Version
v1
License
CC-BY-4.0
DOI
10.48550/arXiv.2404.12603
Summary
Qwerty is a quantum programming language designed to let programmers write quantum code at a higher level of abstraction, using basis types instead of quantum gates and avoiding confusing physics notation—making quantum programming accessible to those without deep physics backgrounds.
- Current quantum languages force programmers to think in terms of quantum gates and bra-ket notation, creating friction for anyone without physics intuition; Qwerty sidesteps this by letting you manipulate qubits more directly.
- The key innovation is a 'basis type' system that lets you express quantum operations in a way closer to how programmers think, rather than how physicists notate quantum mechanics.
- Tight Python integration means you can mix classical and quantum code naturally, lowering the barrier for building hybrid algorithms without context-switching between languages.
curious · generated by claude-haiku-4-5
Chat with this PDF
Ask questions, probe assumptions, request a plain-English summary. Answers cite sections from the preprint itself.
Community
Questions and answers about this paper from other readers. No formal peer review — just a place to think out loud.