QCoder Benchmark
收藏资源简介:
QCoder Benchmark数据集是一个评估大型语言模型在量子编程方面的基准数据集。该数据集包含来自真实编程竞赛的编程问题和人类编写的解决方案,以及一个基于量子模拟器的评估工具,用于提供硬件特定的反馈。数据集包含58个编程问题和大约1740个问题-解决方案对。每个解决方案都是使用Qiskit库编写的,并且包含了修订历史,反映了人类程序员的迭代开发过程。QCoder Benchmark旨在评估生成代码的功能正确性以及是否符合硬件约束,如电路深度和量子门的可用性。
The QCoder Benchmark is a benchmark dataset for evaluating large language models' performance in quantum programming. It comprises programming problems and human-written solutions sourced from real-world programming contests, alongside a quantum simulator-based evaluation tool that provides hardware-specific feedback. The dataset contains 58 programming problems and approximately 1,740 problem-solution pairs. Each solution is written using the Qiskit library and includes revision histories that reflect the iterative development workflows of human programmers. The QCoder Benchmark is designed to assess both the functional correctness of generated code and its adherence to hardware constraints such as circuit depth and the availability of quantum gates.
QCoder Benchmark 数据集概述
数据集名称
QCoder Benchmark
核心目标
评估大型语言模型在量子编程任务中的表现,通过模拟硬件设备提供反馈
关键特性
- 支持量子模拟器环境评估,超越传统Python执行
- 提供领域特定指标反馈:电路深度、执行时间、错误分类
- 包含从真实编程竞赛收集的人工编写代码提交
- 支持LLM输出与人工编写代码的定量比较和定性分析
实验结果
- 先进模型GPT-4o准确率:约18.97%
- 基于推理的模型准确率:最高达78%
- 人工编写代码平均成功率:39.98%
数据来源
从真实量子编程竞赛中收集的人工编写代码提交
可用资源
- QCoder Benchmark数据集
- 公共评估API
应用领域
量子编程、语言生成、硬件交互编程、代码生成评估
研究背景
解决需要与硬件设备交互的编程领域(如量子编程)中LLM评估不足的问题

- 1QCoder Benchmark: Bridging Language Generation and Quantum Hardware through Simulator-Based Feedback先进工业科学技术国家研究所(AIST) · 2025年



