KetGPT – Dataset Augmentation of Quantum Circuits Using Transformers

Boran Apak, Medina Bandic*, Aritra Sarkar, Sebastian Feld

*Corresponding author for this work

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

Abstract

Quantum algorithms, represented as quantum circuits, can be used as benchmarks for assessing the performance of quantum systems. Existing datasets, widely utilized in the field, suffer from limitations in size and versatility, leading researchers to employ randomly generated circuits. Random circuits are, however, not representative benchmarks as they lack the inherent properties of real quantum algorithms for which the quantum systems are manufactured. This shortage of ‘useful’ quantum benchmarks poses a challenge to advancing the development and comparison of quantum compilers and hardware. This research aims to enhance the existing quantum circuit datasets by generating what we refer to as ‘realistic-looking’ circuits by employing the Transformer machine learning architecture. For this purpose, we introduce KetGPT, a tool that generates synthetic circuits in OpenQASM language, whose structure is based on quantum circuits derived from existing quantum algorithms and follows the typical patterns of human-written algorithm-based code (e.g., order of gates and qubits). Our three-fold verification process, involving manual inspection and Qiskit framework execution, transformer-based classification, and structural analysis, demonstrates the efficacy of KetGPT in producing large amounts of additional circuits that closely align with algorithm-based structures. Beyond benchmarking, we envision KetGPT contributing substantially to AI-driven quantum compilers and systems.

Original languageEnglish
Title of host publicationComputational Science – ICCS 2024
Subtitle of host publicationProceedings of the 24th International Conference
EditorsLeonardo Franco, Clélia de Mulatier, Maciej Paszynski, Valeria V. Krzhizhanovskaya, Jack J. Dongarra, Peter M. A. Sloot
PublisherSpringer
Pages235-251
Number of pages17
ISBN (Electronic)978-3-031-63778-0
ISBN (Print)978-3-031-63777-3
DOIs
Publication statusPublished - 2024
Event24th International Conference on Computational Science, ICCS 2024 - Malaga, Spain
Duration: 2 Jul 20244 Jul 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14837 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference24th International Conference on Computational Science, ICCS 2024
Country/TerritorySpain
CityMalaga
Period2/07/244/07/24

Bibliographical note

Green Open Access added to TU Delft Institutional Repository 'You share, we take care!' - Taverne project https://www.openaccess.nl/en/you-share-we-take-care
Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.

Keywords

  • dataset augmentation
  • generative AI
  • Quantum Assembly
  • quantum circuits
  • quantum compilation

Fingerprint

Dive into the research topics of 'KetGPT – Dataset Augmentation of Quantum Circuits Using Transformers'. Together they form a unique fingerprint.

Cite this