KetGPT - Dataset Augmentation of Quantum Circuits using Transformers
<|reference_start|>KetGPT - Dataset Augmentation of Quantum Circuits using Transformers: 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.<|reference_end|>
@article{apak2024ketgpt,
    title={KetGPT - Dataset Augmentation of Quantum Circuits using Transformers},
    author={Boran Apak, Medina Bandic, Aritra Sarkar and Sebastian Feld},
    journal={arXiv preprint arXiv:2402.13352},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.13352},
    primaryClass={quant-ph cs.AI cs.ET cs.LG}
}