# xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform architecture

> Architecture diagram of the GitHub repository xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform
- Repository: https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform

## Overview

The repository describes a quantum-learning platform, but the implemented runtime is a small landslide-monitoring dashboard and FastAPI service; it does not implement quantum instruction or simulation. The documented dashboard provides telemetry views, parameter tuning, simulation triggers, and audit-log export. The sampled backend implements telemetry statistics, risk scoring, in-memory audit records, and a dispatch response. Dashboard-to-endpoint wiring is based on the README’s feature descriptions; the HTML source was not sampled, so finer UI behavior is not represented.

Main entry points: [`project/index.html`](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html) (Web Dashboard), [`project/app.py`](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py) (Telemetry Ingestion)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Monitoring Dashboard"]
  node_dashboard_ui["Web Dashboard<br/>[index.html]"]
  node_tuning["Parameter Tuning<br/>[index.html]"]
  node_telemetry_view["Telemetry Views<br/>[index.html]"]
  node_simulation_trigger["Simulation Trigger<br/>[index.html]"]
  node_audit_export["Audit Export<br/>[index.html]"]
end

subgraph group_service["Telemetry Service"]
  node_api["FastAPI Service<br/>[app.py]"]
  node_stats["Telemetry Statistics<br/>[app.py]"]
  node_ingestion["Telemetry Ingestion<br/>[app.py]"]
  node_risk_scoring["Risk Scoring<br/>[app.py]"]
  node_anomaly_decision["Anomaly Decision<br/>[app.py]"]
  node_action_recommendation["Action Recommendation<br/>[app.py]"]
end

subgraph group_operations["Audit Operations"]
  node_hashing["Event Hashing<br/>[app.py]"]
  node_audit_log["In-Memory Audit Log<br/>[app.py]"]
  node_audit_read["Audit Log Retrieval<br/>[app.py]"]
  node_dispatch["Dispatch Response<br/>[app.py]"]
end

node_operator(("Operator"))

node_operator -->|"uses"| node_dashboard_ui
node_dashboard_ui -->|"adjusts"| node_tuning
node_dashboard_ui -->|"views"| node_telemetry_view
node_dashboard_ui -->|"triggers"| node_simulation_trigger
node_dashboard_ui -->|"exports"| node_audit_export
node_telemetry_view -->|"requests"| node_stats
node_stats -->|"returns metrics"| node_api
node_simulation_trigger -->|"submits telemetry"| node_ingestion
node_ingestion -->|"scores"| node_risk_scoring
node_risk_scoring -->|"determines"| node_anomaly_decision
node_anomaly_decision -->|"selects"| node_action_recommendation
node_ingestion -->|"hashes event"| node_hashing
node_ingestion -->|"appends record"| node_audit_log
node_audit_export -->|"requests logs"| node_audit_read
node_audit_read -->|"reads records"| node_audit_log
node_api -->|"serves endpoint"| node_dispatch

click node_dashboard_ui "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html"
click node_tuning "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html"
click node_telemetry_view "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html"
click node_simulation_trigger "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html"
click node_audit_export "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html"
click node_api "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_stats "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_ingestion "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_risk_scoring "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_anomaly_decision "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_action_recommendation "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_hashing "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_audit_log "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_audit_read "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"
click node_dispatch "https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_dashboard_ui,node_tuning,node_telemetry_view,node_simulation_trigger,node_audit_export toneBlue
class node_api,node_stats,node_ingestion,node_risk_scoring,node_anomaly_decision,node_action_recommendation toneAmber
class node_hashing,node_audit_log,node_audit_read,node_dispatch toneMint
class node_operator toneIndigo
```

## Components

### Monitoring Dashboard

- [Web Dashboard](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html): `project/index.html`
- [Parameter Tuning](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html): `project/index.html`
- [Telemetry Views](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html): `project/index.html`
- [Simulation Trigger](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html): `project/index.html`
- [Audit Export](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/index.html): `project/index.html`

### Telemetry Service

- [FastAPI Service](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Telemetry Statistics](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Telemetry Ingestion](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Risk Scoring](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Anomaly Decision](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Action Recommendation](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`

### Audit Operations

- [Event Hashing](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [In-Memory Audit Log](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Audit Log Retrieval](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`
- [Dispatch Response](https://github.com/xarjunpatil/sih26140-ai-based-interactive-quantum-algorithm-learning-platform/blob/main/project/app.py): `project/app.py`

### Other components

- **Operator**

## Connections

- Operator → Web Dashboard: uses
- Web Dashboard → Parameter Tuning: adjusts
- Web Dashboard → Telemetry Views: views
- Web Dashboard → Simulation Trigger: triggers
- Web Dashboard → Audit Export: exports
- Telemetry Views → Telemetry Statistics: requests
- Telemetry Statistics → FastAPI Service: returns metrics
- Simulation Trigger → Telemetry Ingestion: submits telemetry
- Telemetry Ingestion → Risk Scoring: scores
- Risk Scoring → Anomaly Decision: determines
- Anomaly Decision → Action Recommendation: selects
- Telemetry Ingestion → Event Hashing: hashes event
- Telemetry Ingestion → In-Memory Audit Log: appends record
- Audit Export → Audit Log Retrieval: requests logs
- Audit Log Retrieval → In-Memory Audit Log: reads records
- FastAPI Service → Dispatch Response: serves endpoint
