Saved in:
Bibliographic Details
Main Authors: Mikuriya, Taku, Ishigaki, Tatsuya, Kawarada, Masayuki, Minami, Shunya, Kadowaki, Tadashi, Suzuki, Yohichi, Naito, Soshun, Takata, Shunya, Kato, Takumi, Basseda, Tamotsu, Yamada, Reo, Takamura, Hiroya
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.26101
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909881627312128
author Mikuriya, Taku
Ishigaki, Tatsuya
Kawarada, Masayuki
Minami, Shunya
Kadowaki, Tadashi
Suzuki, Yohichi
Naito, Soshun
Takata, Shunya
Kato, Takumi
Basseda, Tamotsu
Yamada, Reo
Takamura, Hiroya
author_facet Mikuriya, Taku
Ishigaki, Tatsuya
Kawarada, Masayuki
Minami, Shunya
Kadowaki, Tadashi
Suzuki, Yohichi
Naito, Soshun
Takata, Shunya
Kato, Takumi
Basseda, Tamotsu
Yamada, Reo
Takamura, Hiroya
contents Large language models (LLMs) have increasingly been applied to automatic programming code generation. This task can be viewed as a language generation task that bridges natural language, human knowledge, and programming logic. However, it remains underexplored in domains that require interaction with hardware devices, such as quantum programming, where human coders write Python code that is executed on a quantum computer. To address this gap, we introduce QCoder Benchmark, an evaluation framework that assesses LLMs on quantum programming with feedback from simulated hardware devices. Our benchmark offers two key features. First, it supports evaluation using a quantum simulator environment beyond conventional Python execution, allowing feedback of domain-specific metrics such as circuit depth, execution time, and error classification, which can be used to guide better generation. Second, it incorporates human-written code submissions collected from real programming contests, enabling both quantitative comparisons and qualitative analyses of LLM outputs against human-written codes. Our experiments reveal that even advanced models like GPT-4o achieve only around 18.97% accuracy, highlighting the difficulty of the benchmark. In contrast, reasoning-based models such as o3 reach up to 78% accuracy, outperforming averaged success rates of human-written codes (39.98%). We release the QCoder Benchmark dataset and public evaluation API to support further research. (Codes and datasets are available at https://qcoder-bench.github.io/ )
format Preprint
id arxiv_https___arxiv_org_abs_2510_26101
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle QCoder Benchmark: Bridging Language Generation and Quantum Hardware through Simulator-Based Feedback
Mikuriya, Taku
Ishigaki, Tatsuya
Kawarada, Masayuki
Minami, Shunya
Kadowaki, Tadashi
Suzuki, Yohichi
Naito, Soshun
Takata, Shunya
Kato, Takumi
Basseda, Tamotsu
Yamada, Reo
Takamura, Hiroya
Computation and Language
Programming Languages
Quantum Physics
Large language models (LLMs) have increasingly been applied to automatic programming code generation. This task can be viewed as a language generation task that bridges natural language, human knowledge, and programming logic. However, it remains underexplored in domains that require interaction with hardware devices, such as quantum programming, where human coders write Python code that is executed on a quantum computer. To address this gap, we introduce QCoder Benchmark, an evaluation framework that assesses LLMs on quantum programming with feedback from simulated hardware devices. Our benchmark offers two key features. First, it supports evaluation using a quantum simulator environment beyond conventional Python execution, allowing feedback of domain-specific metrics such as circuit depth, execution time, and error classification, which can be used to guide better generation. Second, it incorporates human-written code submissions collected from real programming contests, enabling both quantitative comparisons and qualitative analyses of LLM outputs against human-written codes. Our experiments reveal that even advanced models like GPT-4o achieve only around 18.97% accuracy, highlighting the difficulty of the benchmark. In contrast, reasoning-based models such as o3 reach up to 78% accuracy, outperforming averaged success rates of human-written codes (39.98%). We release the QCoder Benchmark dataset and public evaluation API to support further research. (Codes and datasets are available at https://qcoder-bench.github.io/ )
title QCoder Benchmark: Bridging Language Generation and Quantum Hardware through Simulator-Based Feedback
topic Computation and Language
Programming Languages
Quantum Physics
url https://arxiv.org/abs/2510.26101