Skip to content

JessusTM/MDD-HQC

Repository files navigation

Open the Editor

Version: v1.3.3
Status: Functional Prototype

MDD-HQC is a model-driven platform for designing hybrid quantum-classical systems. It transforms iStar 2.0 models into traceable UVL and UML artifacts enriched with QuantumUML stereotypes, with advisory LLM support.


Need and Motivation

Hybrid quantum-classical (HQC) systems combine classical and quantum components, using each paradigm where it offers the greatest benefit.

The main challenge is one of design: deciding when, where, and how quantum modules should be integrated into classical systems. These decisions are still expert-dependent and weakly traceable from early requirements to architectural decisions.

Without a structured process, hybrid solutions are harder to justify, evaluate, and maintain.


What It Does

MDD-HQC supports HQC design through a model-driven flow from CIM to PIM and PSM.

Starting from iStar 2.0 goal models, the platform derives traceable UVL and UML artifacts enriched with QuantumUML stereotypes. Each level constrains the next one, narrowing the space of possible solutions and strengthening vertical traceability.

MDD-HQC conceptual layers from CIM to PIM to preliminary HQC architecture

LLM support helps identify information gaps, ambiguities, or misplaced elements during model refinement. It is strictly advisory and never makes decisions on behalf of the user.


System Features

The following table summarizes the main capabilities considered in the proposed system.

Status legend: ⬤ implemented, ◐ partial, ◯ not implemented.

Capability Status
Goal-oriented capture of HQC requirements
Interview-based elicitation for CIM modeling
CIM model generation and refinement
CIM to PIM transformation
PIM to PSM transformation
Bidirectional or multi-entry process support
Variability management for HQC design
Vertical traceability across modeling levels
Semantic loss assessment across transformations
Code-oriented downstream generation
Project analysis from local folders or GitHub repositories
AI-assisted interpretation and refinement

Setup

The following must be installed before starting:

  • Docker (version 20.10 or higher)
  • Docker Compose (version 2.0 or higher)
  • Git (for cloning the repository)

Note

The system is designed to run in containerized environments using Docker Compose for compatibility and ease of deployment.

Using Docker Compose

  1. Clone the repository:

    git clone [email protected]:JessusTM/MDD-HQC.git
    cd MDD-HQC
  2. Create the backend environment file at the repository root:

    cp .env.example .env
  3. Create the frontend environment file:

    cp mdd-hqc-frontend/.env.example mdd-hqc-frontend/.env

    [!NOTE] The backend reads variables from the root .env, while the React frontend reads REACT_APP_* variables from mdd-hqc-frontend/.env.

  4. Build and start the services:

    docker compose up --build

    This command builds the backend and frontend images and starts both services.

  5. Access the application:

  6. Stop the services:

    docker compose down

Caution

Ensure that ports 3000 and 8000 are available on the system before running the containers. If these ports are in use, they can be modified in the docker-compose.yml file.


Transformation Pipeline

The system implements a three-level transformation flow:

  1. CIM (Computation Independent Model): Computation-independent model based on iStar 2.0
  2. PIM (Platform Independent Model): Platform-independent model using UVL (Universal Variability Language)
  3. PSM (Platform Specific Model): Platform-dependent model with UML artifacts enriched with QuantumUML stereotypes

Transformation pipeline from CIM to PIM to PSM

Each transformation maintains traceability between levels, allowing elements to be followed from the business model to the platform-specific implementation.


Screenshots

Main interface
Main interface
Embedded examples panel
Embedded examples panel
Guided interaction
Guided interaction
Transformation results
Transformation results
Editor workflow
Editor workflow

Home Landing

Home landing page

About

A Goal-Oriented and Model-Driven Approach for Hybrid Quantum–Classical Systems

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors