LinguaQuanta: Towards a Quantum Transpiler Between OpenQASM and Quipper (Extended)
<|reference_start|>LinguaQuanta: Towards a Quantum Transpiler Between OpenQASM and Quipper (Extended): 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.<|reference_end|>
@article{wesley2024linguaquanta:,
    title={LinguaQuanta: Towards a Quantum Transpiler Between OpenQASM and Quipper
  (Extended)},
    author={Scott Wesley},
    journal={arXiv preprint arXiv:2404.08147},
    year={2024},
    archivePrefix={arXiv},
    eprint={2404.08147},
    primaryClass={quant-ph cs.SE}
}