KetGPT - Dataset Augmentation of Quantum Circuits using Transformers
Authors:
- Boran ApakBABoran Apak
- Medina BandicMBMedina Bandic
- Aritra SarkarASAritra Sarkar
- Sebastian FeldSFSebastian Feld
Preprint
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.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Interaction graph-based characterization of quantum benchmarks for improving quantum circuit mapping techniquesQuantum Machine Intelligence, 2023
- qgym: A Gym for Training and Benchmarking RL-Based Quantum Compilation2023
- MQT Bench: Benchmarking Software and Design Automation Tools for Quantum ComputingQuantum, 2023
- QASMBench: A Low-Level Quantum Benchmark Suite for NISQ Evaluation and SimulationACM Transactions on Quantum Computing, 2023
- Neural-Network Decoders for Quantum Error Correction Using Surface Codes: A Space Exploration of the Hardware Cost-Performance TradeoffsIEEE Transactions on Quantum Engineering, 2022
- Deep neural networks for quantum circuit mappingNeural Computing and Applications, 2021
- A comprehensive survey and analysis of generative models in machine learningComputer Science Review, 2020
- Array programming with NumPyNature, 2020
- Validating quantum computers using randomized model circuitsPhysical Review A, 2019
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998