Skip to content

📊 Tracking Issue: Structured Quantum Programs #691

@burgholzer

Description

@burgholzer

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.

  • Teleportation primitive
    Ref: Bennett et al., 1993
    • Example: Teleportation-based subroutines (used in distributed algorithms, fault-tolerant protocols)

🎛 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.

  • Dynamic qubit allocation primitive
    • Example: Iterative Phase Estimation (iQPE)
    • Example: Iterative QFT
    • Example: Shor’s Algorithm
      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.


🧩 Fault-Tolerance & Resource States

Structured programs also include primitives for error correction and fault-tolerant computation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions