This issue tracks the effort to extend MQT Bench with support for structured quantum programs.
By structured quantum programs we mean hybrid quantum–classical programs that go beyond straight-line circuits and include:
- Structured control flow operations (
if, for, while, etc.)
- Dynamic quantum circuit primitives (mid-circuit measurements, resets, classically controlled quantum gates)
The goal of this roadmap is to provide an overview of the different available kinds of structured programs and to act as a tracking hub for adding them to the MQT Bench suite.
👉 Contributions are highly encouraged! Even adding a single primitive or algorithm is already a great start. Please see our contribution guidelines before getting started.
👉 Important: Checkboxes should only be marked once the corresponding PR has been merged.
These benchmarks are expected to serve not only as functional tests but also as challenges for compilers, visualization engines, runtimes, and emulators, since they combine quantum and classical control in nontrivial ways.
🔁 Loops and Iteration
Loops are a fundamental control-flow construct. They can appear with static bounds (fixed iteration counts) or dynamic bounds (e.g., repeat-until-success). Many important algorithms can be expressed naturally in this form.
🧱 Block Encoding
Block encoding embeds classical data or operators into quantum states. It underpins advanced algorithms like QSVT.
✨ Teleportation
Quantum teleportation is a canonical primitive for quantum communication and distributed computing.
🎛 Multiplexers
Quantum multiplexers allow conditional application of gates and are widely used in circuit synthesis and algorithm design.
🔄 Dynamic Qubit (Re)-Allocation
Dynamic allocation and reuse of qubits is crucial for resource-efficient algorithms. This often involves mid-circuit measurement and reset.
⚛️ Loosely Coupled Hybrid Programs
Variational and hybrid algorithms naturally combine quantum circuits with classical optimization loops. They are loosely coupled because the quantum and classical parts interact only at well-defined synchronization points.
🧩 Fault-Tolerance & Resource States
Structured programs also include primitives for error correction and fault-tolerant computation.
This issue tracks the effort to extend MQT Bench with support for structured quantum programs.
By structured quantum programs we mean hybrid quantum–classical programs that go beyond straight-line circuits and include:
if,for,while, etc.)The goal of this roadmap is to provide an overview of the different available kinds of structured programs and to act as a tracking hub for adding them to the MQT Bench suite.
👉 Contributions are highly encouraged! Even adding a single primitive or algorithm is already a great start. Please see our contribution guidelines before getting started.
👉 Important: Checkboxes should only be marked once the corresponding PR has been merged.
These benchmarks are expected to serve not only as functional tests but also as challenges for compilers, visualization engines, runtimes, and emulators, since they combine quantum and classical control in nontrivial ways.
🔁 Loops and Iteration
Loops are a fundamental control-flow construct. They can appear with static bounds (fixed iteration counts) or dynamic bounds (e.g., repeat-until-success). Many important algorithms can be expressed naturally in this form.
Static loops
Ref: Grover, 1996
Ref: Iterative QPE
Ref: Quantum simulation of XAS and https://pennylane.ai/qml/demos/tutorial_xas
Dynamic loops (Repeat-Until-Success)
Ref: Temme et al., 2011
Ref: Suzuki et al., 2020
🧱 Block Encoding
Block encoding embeds classical data or operators into quantum states. It underpins advanced algorithms like QSVT.
Ref: Quantum Singular Value Transformation (QSVT)
Ref: Low & Chuang, 2016
✨ Teleportation
Quantum teleportation is a canonical primitive for quantum communication and distributed computing.
Ref: Bennett et al., 1993
🎛 Multiplexers
Quantum multiplexers allow conditional application of gates and are widely used in circuit synthesis and algorithm design.
Ref: Quantum multiplexers in circuit synthesis
🔄 Dynamic Qubit (Re)-Allocation
Dynamic allocation and reuse of qubits is crucial for resource-efficient algorithms. This often involves mid-circuit measurement and reset.
Ref: Shor, 1994
⚛️ Loosely Coupled Hybrid Programs
Variational and hybrid algorithms naturally combine quantum circuits with classical optimization loops. They are loosely coupled because the quantum and classical parts interact only at well-defined synchronization points.
VQE (Variational Quantum Eigensolver)
Ref: Peruzzo et al., 2014
QAOA (Quantum Approximate Optimization Algorithm)
Ref: Farhi et al., 2014
🧩 Fault-Tolerance & Resource States
Structured programs also include primitives for error correction and fault-tolerant computation.
Ref: Bravyi & Kitaev, 2005