Research indexDataset
QCircuit2Code Resource
Nguyen
Figshare26 Mar 2026Open access
NobleIDark:/48914/w1/20261006/C95C3081DOI10.6084/m9.figshare.31847296
QCircuit2Code Resource
Nguyen · Figshare · 2026
NobleIDark:/48914/w1/20261006/C95C3081DOI10.6084/m9.figshare.31847296
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
This repository contains the source code and dataset used in our research on automated quantum circuit recognition and code generation. The proposed pipeline integrates a vision-based object detection model with a large language model (LLM) to translate quantum circuit diagrams into executable Qiskit code.The dataset includes 100 quantum circuit examples, consisting of both curated circuits from open-source repositories and synthetically generated circuits with varying levels of complexity. Each example provides circuit images, corresponding annotations, and rendered outputs. The source code implements the full pipeline, including circuit detection, spatial normalization, structured JSON generation, and LLM-based code synthesis.