Need and Motivation · Transformation Pipeline · System Features · Setup · Illustrative Cases · Reproducibility · Screenshots
Version: v1.4.1
Status: Research Prototype
Research: MDD-HQC-related works were accepted at CLEI TLISC 2026, the IEEE Quantum Week Q-SET 2026 Workshop, and the JCC 2026 QCQSE-Chile Workshop.
MDD-HQC is a model-driven platform for supporting the design of hybrid quantum-classical systems. It provides a partially traceable transformation flow from iStar 2.0 goal models to variability models written in UVL and preliminary UML class diagrams enriched with QuantumUML stereotypes. The platform also incorporates experimental human-in-the-loop assistance that combines LLM-based analysis with user decisions during model refinement.
Hybrid quantum-classical (HQC) systems combine classical and quantum components according to the needs and constraints of the system. Their development involves more than selecting a quantum algorithm: engineers must determine whether, where, and how quantum components should be incorporated, considering algorithms, integration mechanisms, programming frameworks, providers, and hardware constraints.
These decisions depend heavily on specialized knowledge and are often weakly connected to the original stakeholder goals and requirements. MDD-HQC addresses this problem by providing a systematic modeling workflow from stakeholder goals to a preliminary system structure, while maintaining partial vertical traceability across its modeling levels.
MDD-HQC organizes HQC design into three connected modeling levels:
- CIM: Stakeholder goals, needs, and dependencies represented with iStar 2.0.
- PIM: HQC variability, design alternatives, and constraints represented in UVL.
- PSM: A preliminary system structure represented through UML and QuantumUML.
Explicit deterministic rules transform models from CIM to PIM and from PIM to PSM. The workflow also considers semi-automated human-in-the-loop assistance at both transformation stages, combining LLM-based analysis with user decisions. The current rules preserve partial vertical traceability for some generated elements.
Note
In v1.4.1, LLM support is limited to PIM completeness analysis. Detected gaps trigger predefined questions and alternatives, but user decisions are not automatically incorporated or traced. PSM refinement is currently manual, and the resulting class diagram represents a preliminary system structure rather than a complete HQC software architecture.
A compact specification of the currently defined mappings is available in Transformation Rules.
The following table summarizes the main capabilities included in or envisioned for MDD-HQC.
Status legend: ⬤ implemented, ◐ partial, ◯ not implemented.
| Capability | Status |
|---|---|
| Goal-oriented modeling of HQC requirements | ⬤ |
| Interview-based elicitation for CIM modeling | ◯ |
| CIM model generation and interactive refinement | ◯ |
| Rule-based CIM-to-PIM transformation | ◐ |
| Rule-based PIM-to-PSM transformation | ◐ |
| Bidirectional or multi-entry transformation flow | ◯ |
| Variability modeling for HQC design decisions | ⬤ |
| Vertical traceability across modeling levels | ◐ |
| Assessment of semantic preservation across transformations | ◯ |
| LLM-assisted PIM completeness analysis | ◐ |
| Automatic incorporation of user refinement decisions | ◯ |
| LLM-assisted PSM structural refinement | ◯ |
| Architecture-to-code generation | ◯ |
| Project analysis from local folders or GitHub repositories | ◯ |
The following tools must be installed before running the platform:
- Docker (version 20.10 or higher)
- Docker Compose (version 2.0 or higher)
- Git (for cloning the repository)
Note
MDD-HQC is designed to run in a containerized environment using Docker Compose, simplifying dependency management and deployment across different systems.
-
Clone the repository:
git clone https://github.com/QuantumLab-DCI/MDD-HQC.git cd MDD-HQC -
Create the backend environment file at the repository root:
cp .env.example .env
-
Create the frontend environment file:
cp mdd-hqc-frontend/.env.example mdd-hqc-frontend/.env
The backend reads its configuration from the root
.envfile. The React frontend reads variables prefixed withREACT_APP_frommdd-hqc-frontend/.env. -
Build the images and start the services:
docker compose up --build
This command builds the backend and frontend images and starts both services.
-
Access the application:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation (Swagger): http://localhost:8000/docs
-
Stop the services:
docker compose down
Note
The deterministic transformations can be executed without enabling the LLM-assisted analysis. To use this experimental functionality, configure a supported provider and the corresponding credentials in the root .env file. The default configuration uses the openrouter/free alias with a temperature of 0.0. This alias does not guarantee a fixed underlying model, and the specific model selected by OpenRouter is not currently recorded by the prototype.
Caution
Ensure that ports 3000 and 8000 are available before starting the containers. If either port is already in use, its mapping can be changed in the docker-compose.yml file.
The following cases demonstrate how MDD-HQC represents different hybrid quantum-classical design scenarios from stakeholder goals and system responsibilities.
The repository includes the input models and resulting artifacts for the ChileEsPres and Q-TradeX illustrative cases. The source CIM models can also be loaded directly from the Examples section of the user interface.
The generated PIM and PSM artifacts are preserved under artifacts/cases/. For Q-TradeX, the repository additionally includes manually refined PIM and PSM models derived from the initial outputs produced by the deterministic transformation rules. These refined models are reference artifacts and are not automatically generated by the current prototype.
Detailed instructions for executing the transformations, accessing the generated outputs, and reproducing the manual refinement workflow are available in docs/reproducibility.md.









