AG-2024.04-1780·quant-ph·cross-listed: cs.SE
LinguaQuanta: Towards a Quantum Transpiler Between OpenQASM and Quipper (Extended)
Authors
- Scott Wesley
Abstract
As quantum computing evolves, many important questions emerge, such as how best to represent quantum programs, and how to promote interoperability between quantum program analysis tools. These questions arise naturally in the design of quantum transpilers, which translate between quantum programming languages. In this paper, we take a step towards answering these questions by identifying challenges and best practices in quantum transpiler design. We base these recommendations on our experience designing LinguaQuanta, a quantum transpiler between Quipper and OpenQASM. First, we provide categorical specifications for quantum transpilers, which aim to encapsulate the core principles of the UNIX philosophy. We then identify quantum circuit decompositions which we expect to be useful in quantum transpilation. With these foundations in place, we then discuss challenges faced during the implementation of LinguaQuanta, such as ancilla management and stability under round translation. To show that LinguaQuanta works in practice, a short tutorial is given for the example of quantum phase estimation. We conclude with recommendations for the future of LinguaQuanta, and for quantum software development tools more broadly.
Submitted
11 April 20242 years ago
Version
v1
License
CC-BY-4.0
DOI
10.48550/arXiv.2404.08147
Summary
A new quantum transpiler called LinguaQuanta converts programs between two quantum languages (Quipper and OpenQASM), offering design principles and practical solutions for handling challenges like managing auxiliary qubits.
- Quantum programs need to move between different languages just like classical software does—this paper builds infrastructure to do that reliably.
- The authors identify key technical challenges (like ancilla management: keeping track of temporary qubits needed for calculations) that any transpiler must solve.
- They propose mathematical frameworks (category theory) and circuit decomposition strategies that future quantum software tools should adopt for better interoperability.
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.