Unleashing the Potential of LLMs for Quantum Computing: A Study in Quantum Architecture Design
Zhiding Liang, Jinglei Cheng, Rui Yang, Hang Ren, Zhixin Song, Di Wu, Xuehai Qian, Tongyang Li, Yiyu Shi
TL;DR
Addressing the challenge of designing quantum architectures for $VQAs$ in the $NISQ$ era and into $FTQC$, this work presents $QGAS$, a GPT-guided architecture search that iteratively proposes, trains, and evaluates ansatz circuits. The framework combines $GPT$-4 driven design with $QASM$ output from $GPT$-3.5, maps problem Hamiltonians (via fermionic mapping for chemistry or Ising mapping for finance), and optimizes parameters with gradient-based methods, all under a human-in-the-loop feedback mechanism. Across benchmarks in quantum chemistry (e.g., $H_2O$, $LiH$) and quantum finance (portfolio optimization, MaxCut, TSP), $QGAS$ achieves high-performance ansätze with limited prompts, often matching or surpassing state-of-the-art baselines like $QuantumNAS$ in noiseless settings and showing improved efficiency when guided by human input. The study also highlights limitations of current $GPT$ models—such as noise sensitivity and potential biases—and outlines practical implications and future directions for integrating $GPT$ into quantum-architecture research and fault-tolerant design.
Abstract
Large Language Models (LLMs) contribute significantly to the development of conversational AI and has great potentials to assist the scientific research in various areas. This paper attempts to address the following questions: What opportunities do the current generation of generative pre-trained transformers (GPTs) offer for the developments of noisy intermediate-scale quantum (NISQ) technologies? Additionally, what potentials does the forthcoming generation of GPTs possess to push the frontier of research in fault-tolerant quantum computing (FTQC)? In this paper, we implement a QGAS model, which can rapidly propose promising ansatz architectures and evaluate them with application benchmarks including quantum chemistry and quantum finance tasks. Our results demonstrate that after a limited number of prompt guidelines and iterations, we can obtain a high-performance ansatz which is able to produce comparable results that are achieved by state-of-the-art quantum architecture search methods. This study provides a simple overview of GPT's capabilities in supporting quantum computing research while highlighting the limitations of the current GPT at the same time. Additionally, we discuss futuristic applications for LLM in quantum research.
