# miles0428/dmet architecture

> Architecture diagram of the GitHub repository miles0428/dmet, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-07-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/miles0428/dmet
- Repository: https://github.com/miles0428/dmet

## Overview

Nodes:
- DMET (core module)
- ProblemFormulation
- ProblemSolver
- Examples_ProblemFormulation
- Examples_DMET
- Examples_ProblemSolver

- ProblemFormulation → DMET
- ProblemSolver → DMET
- Examples_ProblemFormulation → ProblemFormulation
- Examples_DMET → DMET
- Examples_ProblemSolver → ProblemSolver

## Diagram (Mermaid)

```mermaid
flowchart TB
    subgraph "Modules"
        ProblemFormulation["ProblemFormulation"]:::module
        ProblemSolver["ProblemSolver"]:::module
    end

    subgraph "Core Module"
        DMET["DMET"]:::core
    end

    subgraph "Examples"
        Examples_ProblemFormulation["Examples_ProblemFormulation"]:::example
        Examples_DMET["Examples_DMET"]:::example
        Examples_ProblemSolver["Examples_ProblemSolver"]:::example
    end

    ProblemFormulation -->|"calls"| DMET
    ProblemSolver -->|"calls"| DMET

    Examples_ProblemFormulation -->|"invokes"| ProblemFormulation
    Examples_DMET -->|"invokes"| DMET
    Examples_ProblemSolver -->|"invokes"| ProblemSolver

    click DMET "https://github.com/miles0428/dmet/blob/main/DMET/DMET/DMET.py"
    click ProblemFormulation "https://github.com/miles0428/dmet/blob/main/DMET/ProblemFormulation/ProblemFormulation.py"
    click Examples_ProblemFormulation "https://github.com/miles0428/dmet/blob/main/examples/ProblemFormulation.ipynb"
    click ProblemSolver "https://github.com/miles0428/dmet/blob/main/DMET/ProblemSolver/ProblemSolver.py"
    click Examples_DMET "https://github.com/miles0428/dmet/blob/main/examples/DMET_Hubbard.ipynb"
    click Examples_ProblemSolver "https://github.com/miles0428/dmet/blob/main/examples/ProblemSolver.ipynb"

    classDef core fill:#D3E5FF,stroke:#333,stroke-width:1px;
    classDef module fill:#DFF2BF,stroke:#333,stroke-width:1px;
    classDef example fill:#FFF2BF,stroke:#333,stroke-width:1px;
```
