Skip to main content

2023 | OriginalPaper | Buchkapitel

Uncomputation in the Qrisp High-Level Quantum Programming Framework

verfasst von : Raphael Seidel, Nikolay Tcholtchev, Sebastian Bock, Manfred Hauswirth

Erschienen in: Reversible Computation

Verlag: Springer Nature Switzerland

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Uncomputation is an essential part of reversible computing and plays a vital role in quantum computing. Using this technique, memory resources can be safely deallocated without performing a non-reversible deletion process. For the case of quantum computing, several algorithms depend on this as they require disentangled states in the course of their execution. Thus, uncomputation is not only about resource management, but is also required from an algorithmic point of view. However, synthesizing uncomputation circuits is tedious and can be automated. In this paper, we describe the interface for automated generation of uncomputation circuits in our Qrisp framework. Our algorithm for synthesizing uncomputation circuits in Qrisp is based on an improved version of “Unqomp”, a solution presented by Paradis et al. Our paper also presents some improvements to the original algorithm, in order to make it suitable for the needs of a high-level programming framework. Qrisp itself is a fully compilable, high-level programming language/framework for gate-based quantum computers, which abstracts from many of the underlying hardware details. Qrisp’s goal is to support a high-level programming paradigm as known from classical software development.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
1
A good correspondence in classical computing to uncomputation in quantum computing is the concept of garbage collection as, e.g., in Java. While classical garbage collection usually simply performs a non-reversible deletion of the collected data, uncomputation in contrast means performing the necessary (reversible) steps to bring the data back into some initial state.
 
2
An algorithm for automatic determination wether a variable should be recomputed has been presented in [6]. This method is however not yet implemented within Qrisp.
 
3
In Qrisp, a QuantumSession contains all the high-level objects and steer the interaction with the hardware or simulation backend.
 
Literatur
2.
Zurück zum Zitat Bichsel, B., Baader, M., Gehr, T., Vechev, M.: 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, PLDI 2020, New York, NY, USA, pp. 286–300. Association for Computing Machinery (2020) Bichsel, B., Baader, M., Gehr, T., Vechev, M.: 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, PLDI 2020, New York, NY, USA, pp. 286–300. Association for Computing Machinery (2020)
3.
Zurück zum Zitat Grover, L.K.: A fast quantum mechanical algorithm for database search (1996) Grover, L.K.: A fast quantum mechanical algorithm for database search (1996)
4.
Zurück zum Zitat Heim, B., et al.: Quantum programming languages. Nat. Rev. Phys. 2(12), 709–722 (2020)CrossRef Heim, B., et al.: Quantum programming languages. Nat. Rev. Phys. 2(12), 709–722 (2020)CrossRef
5.
Zurück zum Zitat Maslov, D.: Advantages of using relative-phase Toffoli gates with an application to multiple control Toffoli optimization. Physical Re. A 93(2) (2016) Maslov, D.: Advantages of using relative-phase Toffoli gates with an application to multiple control Toffoli optimization. Physical Re. A 93(2) (2016)
6.
Zurück zum Zitat Meuli, G., Soeken, M., Roetteler, M., Bjorner, N., Micheli, G.D.: Reversible pebbling game for quantum memory management (2019) Meuli, G., Soeken, M., Roetteler, M., Bjorner, N., Micheli, G.D.: Reversible pebbling game for quantum memory management (2019)
7.
Zurück zum Zitat Paradis, A., Bichsel, B., Steffen, S., Vechev, M.: Unqomp: synthesizing uncomputation in quantum circuits. In: Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021, New York, NY, USA, pp. 222–236. Association for Computing Machinery (2021) Paradis, A., Bichsel, B., Steffen, S., Vechev, M.: Unqomp: synthesizing uncomputation in quantum circuits. In: Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021, New York, NY, USA, pp. 222–236. Association for Computing Machinery (2021)
8.
Zurück zum Zitat Seidel, R., Becker, C.K.-U., Bock, S., Tcholtchev, N., Gheorghe-Pop, I.-D., Hauswirth, M.: Automatic generation of Grover quantum oracles for arbitrary data structures. Quant. Sci. Technol. 8(2), 025003 (2023) Seidel, R., Becker, C.K.-U., Bock, S., Tcholtchev, N., Gheorghe-Pop, I.-D., Hauswirth, M.: Automatic generation of Grover quantum oracles for arbitrary data structures. Quant. Sci. Technol. 8(2), 025003 (2023)
9.
Zurück zum Zitat Seidel, R., Bock, S., Tcholtchev, N., Hauswirth, M.: Qrisp: a framework for compliable high-level programming of gate-based quantum computers. In: PlanQC - Programming Languages for Quantum Computing, September 2022 Seidel, R., Bock, S., Tcholtchev, N., Hauswirth, M.: Qrisp: a framework for compliable high-level programming of gate-based quantum computers. In: PlanQC - Programming Languages for Quantum Computing, September 2022
10.
Zurück zum Zitat Song, G., Klappenecker, A.: The simplified Toffoli gate implementation by Margolus is optimal (2003) Song, G., Klappenecker, A.: The simplified Toffoli gate implementation by Margolus is optimal (2003)
11.
Zurück zum Zitat Svore, K., et al.: Q#. In: Proceedings of the Real World Domain Specific Languages Workshop 2018 on - RWDSL2018. ACM Press (2018) Svore, K., et al.: Q#. In: Proceedings of the Real World Domain Specific Languages Workshop 2018 on - RWDSL2018. ACM Press (2018)
12.
Zurück zum Zitat Wille, R., Van Meter, R., Naveh, Y.: Ibm’s qiskit tool chain: working with and developing for real quantum computers. In: 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE), pp. 1234–1240 (2019) Wille, R., Van Meter, R., Naveh, Y.: Ibm’s qiskit tool chain: working with and developing for real quantum computers. In: 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE), pp. 1234–1240 (2019)
Metadaten
Titel
Uncomputation in the Qrisp High-Level Quantum Programming Framework
verfasst von
Raphael Seidel
Nikolay Tcholtchev
Sebastian Bock
Manfred Hauswirth
Copyright-Jahr
2023
DOI
https://doi.org/10.1007/978-3-031-38100-3_11

Premium Partner