skip to main content
10.1145/3563768.3563959acmconferencesArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
short-paper

Qiwi: A Beginner Friendly Quantum Language

Published:01 December 2022Publication History

ABSTRACT

Acknowledging the inter-disciplinary aspect of quantum computing, there is a need to make quantum programming more accessible for its fast-growing community. With the advent of quantum computers with hundreds of qubits designing circuits manually is infeasible. Most current languages are low-level or involve a steep learning curve or lack control. Thus we propose a quantum programming language (QPL) that allows for high-level abstractions with intuitive syntax while still allowing users to directly construct circuits.

High-level languages decrease user control and caution leading to sub-optimal circuits. To prevent this, Qiwi allows for dead qubit elimination and has dynamically sized data types. We also introduce a mechanism to let the compiler decide the most optimal among several overloaded function definitions, based on statements following the call. Moreover, this work also presents circuits for if outside the control family of gates and a control for loop on quantum data.

References

  1. Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, M Sohaib Alam, Shahnawaz Ahmed, Juan Miguel Arrazola, Carsten Blank, Alain Delgado, and Soran Jahangiri. 2018. Pennylane: Automatic differentiation of hybrid quantum-classical computations. arXiv preprint arXiv:1811.04968, https://doi.org/10.48550/ARXIV.1811.04968 Google ScholarGoogle Scholar
  2. Benjamin Bichsel, Maximilian Baader, Timon Gehr, and Martin Vechev. 2020. Silq: A high-level quantum language with safe uncomputation and intuitive semantics. In Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation. 286–300. https://doi.org/10.1145/3385412.3386007 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Andrew W Cross, Lev S Bishop, John A Smolin, and Jay M Gambetta. 2017. Open quantum assembly language. arXiv preprint arXiv:1707.03429, https://doi.org/10.48550/ARXIV.1707.03429 Google ScholarGoogle Scholar
  4. Steven A Cuccaro, Thomas G Draper, Samuel A Kutin, and David Petrie Moulton. 2004. A new quantum ripple-carry addition circuit. arXiv preprint quant-ph/0410184, https://doi.org/10.48550/ARXIV.QUANT-PH/0410184 Google ScholarGoogle Scholar
  5. Cirq Developers. 2022. Cirq. Zenodo. https://doi.org/10.5281/zenodo.6599601 See full list of authors on Github: https://github.com/quantumlib/Cirq/graphs/contributors Google ScholarGoogle ScholarCross RefCross Ref
  6. Aleksandrowicz et. al.. 2019. Qiskit: An Open-source Framework for Quantum Computing. https://doi.org/10.5281/zenodo.2562111 Google ScholarGoogle ScholarCross RefCross Ref
  7. Alexander S Green, Peter LeFanu Lumsdaine, Neil J Ross, Peter Selinger, and Benoît Valiron. 2013. Quipper: a scalable quantum programming language. In Proceedings of the 34th ACM SIGPLAN conference on Programming language design and implementation. 333–342. https://doi.org/10.1145/2491956.2462177 Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Himanshu Thapliyal. 2016. Mapping of subtractor and adder-subtractor circuits on reversible quantum gates. In Transactions on Computational Science XXVII. Springer, 10–34. https://doi.org/10.1007/978-3-662-50412-3_2 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. William K Wootters and Wojciech H Zurek. 1982. A single quantum cannot be cloned. Nature, 299, 5886 (1982), 802–803. https://doi.org/10.1038/299802a0 Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Qiwi: A Beginner Friendly Quantum Language

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        SPLASH Companion 2022: Companion Proceedings of the 2022 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity
        November 2022
        83 pages
        ISBN:9781450399012
        DOI:10.1145/3563768
        • General Chair:
        • Alex Potanin

        Copyright © 2022 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 December 2022

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • short-paper

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader