Skip to main content
QASM-Eval dataset showcasing first training data for large language models on OpenQASM-3 quantum programming instructions, en

Editorial illustration for QASM-Eval Introduces First Dataset for Training LLMs on OpenQASM-3

QASM-Eval Introduces First Dataset for Training LLMs on...

Updated: 3 min read

Large language models generate Python. They produce C++. Some even output basic quantum assembly.

Yet they cannot converse with a quantum computer. Not truly. That dialogue requires OpenQASM-3, a standard built for the messy, timed, pulse-level control real hardware demands.

It has remained a blind spot. Now, a team has built the first dataset to teach it.

Despite the rapid progress of large language models in code generation, there is still no dataset specifically designed to train and evaluate LLMs on OpenQASM-3 programs that involve its advanced hardware-oriented features. To address this gap, we introduce QASM-Eval, the first comprehensive dataset designed to train and evaluate LLMs on OpenQASM-3. Rather than focusing on quantum algorithm design or reasoning, QASM-Eval explicitly targets the language's hardware-facing features. QASM-Eval comprises an expert-verified test set of 100 tasks and a training set of 4,000 tasks, systematically covering classical logic, timing scheduling, pulse control, and complex real-world workflows.

QASM-Eval’s 4,000 training tasks target the gritty specifics: classical logic gates, nanosecond-precise timing, direct pulse control. The field is cluttered with benchmarks for abstract quantum logic. This is a pivot to the machine shop.

Success here means a model can handle a conditional reset based on a mid-circuit measurement. It can shape a microwave pulse. It can slot that pulse into a full hardware calibration routine.

The dataset's 100 expert-checked test problems are a blunt, specific challenge. Progress is no longer just about more accurate algorithms. It's about models that can finally get their hands dirty.

Common Questions Answered

What is OpenQASM-3 and why is it important for quantum computing?

OpenQASM-3 is a standard designed for pulse-level control of quantum hardware, enabling true dialogue between large language models and quantum computers. Unlike higher-level quantum assembly languages, it handles the messy, timed requirements that real quantum hardware demands, making it essential for practical quantum computing applications.

What problem does QASM-Eval dataset solve for LLMs?

QASM-Eval addresses the blind spot where large language models can generate Python and C++ but cannot properly converse with quantum computers using OpenQASM-3. The dataset provides the first training resource to teach LLMs the specific syntax and control requirements needed for quantum hardware interaction.

What specific quantum operations can models trained on QASM-Eval perform?

Models trained on QASM-Eval can handle classical logic gates, nanosecond-precise timing, direct pulse control, conditional resets based on mid-circuit measurements, microwave pulse shaping, and integration of pulses into full hardware calibration routines. These capabilities represent the gritty, practical requirements of real quantum hardware rather than abstract quantum logic.

How many training tasks and test problems does QASM-Eval contain?

QASM-Eval includes 4,000 training tasks that target the specific details of quantum hardware control, along with 100 expert-checked test problems for evaluation. This dataset represents a significant pivot from abstract quantum benchmarks toward practical, machine-shop-level quantum operations.

LIVE03:21OpenAI's Miles Wang in Talks for USD 2B AI Drug Discovery Startup