File size: 8,823 Bytes
9e89154
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# Quantum Hybrid Portfolio β€” Documentation Index

This is the master index for all Quantum Hybrid Portfolio documentation.

## Getting started

| Document | Description |
|----------|-------------|
| [README.md](../README.md) | Project overview and quick start |
| [GETTING_STARTED.md](GETTING_STARTED.md) | **Canonical** install, API, dashboard, env, troubleshooting |
| [guides/HOW_TO_RUN.md](guides/HOW_TO_RUN.md) | Detailed run commands and troubleshooting |
| [guides/QUICKSTART.md](guides/QUICKSTART.md) | Quick start companion |
| [../.env.example](../.env.example) | Environment variable reference |

## Public demo & hosting

| Document | Description |
|----------|-------------|
| [PUBLIC_DEMO.md](PUBLIC_DEMO.md) | Audience, 60s story, disclaimer, operational expectations |
| [HUGGINGFACE_SPACES.md](HUGGINGFACE_SPACES.md) | Hugging Face Spaces (Docker, port 7860) |

## Architecture & design

| Document | Description |
|----------|-------------|
| [ARCHITECTURE.md](ARCHITECTURE.md) | System architecture and data flow |
| [TECHNICAL_PAPER.md](TECHNICAL_PAPER.md) | Technical background and research |
| [project/DIRECTORY_GUIDE.md](project/DIRECTORY_GUIDE.md) | Project directory structure |
| [project/PROJECT_OVERVIEW.md](project/PROJECT_OVERVIEW.md) | High-level product overview |
| [project/SYSTEM_SUMMARY.md](project/SYSTEM_SUMMARY.md) | System summary |
| [project/TECHNICAL_DOCUMENTATION.md](project/TECHNICAL_DOCUMENTATION.md) | Technical documentation |

## Migration & refactoring plans

| Document | Description |
|----------|-------------|
| [plans/README.md](plans/README.md) | Hub: Next.js + API + pipeline migration |
| [plans/MIGRATION_PHASES_AND_CHECKPOINTS.md](plans/MIGRATION_PHASES_AND_CHECKPOINTS.md) | Phases 0–7, checkpoints, verification tests |
| [plans/WORKSTREAM_BREAKDOWN.md](plans/WORKSTREAM_BREAKDOWN.md) | Parallel workstreams (web, API, pipeline) |

## API documentation

| Document | Description |
|----------|-------------|
| [API_REFERENCE.md](API_REFERENCE.md) | Complete API endpoint reference |
| [API_PRODUCT_GUIDE.md](API_PRODUCT_GUIDE.md) | API usage patterns and best practices |
| `/api/docs/openapi` | OpenAPI/Swagger spec (when API is running) |

## Dashboard documentation

| Document | Description |
|----------|-------------|
| [DASHBOARD_GUIDE.md](DASHBOARD_GUIDE.md) | **Canonical** dashboard user guide (tabs, modes, controls) |
| [dashboard/DASHBOARD_README.md](dashboard/DASHBOARD_README.md) | Short landing + pointers |

### Archived / supplementary (redirect to `DASHBOARD_GUIDE.md`)

| Document | Note |
|----------|------|
| [dashboard/DASHBOARD_FEATURE_SUMMARY.md](dashboard/DASHBOARD_FEATURE_SUMMARY.md) | Consolidated |
| [dashboard/DASHBOARD_FEATURE_GUIDE.md](dashboard/DASHBOARD_FEATURE_GUIDE.md) | Consolidated |
| [dashboard/DASHBOARD_CUSTOMIZATION_FEATURES.md](dashboard/DASHBOARD_CUSTOMIZATION_FEATURES.md) | Consolidated |
| [dashboard/DASHBOARD_FULL_README.md](dashboard/DASHBOARD_FULL_README.md) | Consolidated |
| [dashboard/DASHBOARD_VISUAL_GUIDE.md](dashboard/DASHBOARD_VISUAL_GUIDE.md) | Consolidated |
| [dashboard/DASHBOARD_WALKTHROUGH_REPORT.md](dashboard/DASHBOARD_WALKTHROUGH_REPORT.md) | Consolidated |
| [dashboard/DASHBOARD_TEST_SUMMARY.md](dashboard/DASHBOARD_TEST_SUMMARY.md) | Consolidated |
| [frontend/frontend-guide.md](frontend/frontend-guide.md) | Frontend dev notes |
| [frontend/ui-design.md](frontend/ui-design.md) | UI design notes |

## Planning & roadmaps

| Document | Description |
|----------|-------------|
| [next-phase/README.md](next-phase/README.md) | **Next phase (hub)** β€” tracks A–C checklists, verification; links to [plans/](plans/README.md) (Track D) |
| [planning/ENHANCEMENT_PLAN.md](planning/ENHANCEMENT_PLAN.md) | Enhancement plan |
| [planning/ENHANCEMENT_SUMMARY.md](planning/ENHANCEMENT_SUMMARY.md) | Enhancement summary |
| [planning/ENHANCED_FEATURES_README.md](planning/ENHANCED_FEATURES_README.md) | Enhanced features |
| [planning/ENHANCED_IMPLEMENTATION_DOCS.md](planning/ENHANCED_IMPLEMENTATION_DOCS.md) | Enhanced implementation |
| [planning/ENHANCED_SYSTEM_SUMMARY.md](planning/ENHANCED_SYSTEM_SUMMARY.md) | Enhanced system summary |
| [planning/NEXT_STEPS_INDUSTRY_STANDARD.md](planning/NEXT_STEPS_INDUSTRY_STANDARD.md) | Industry next steps |
| [planning/PORTFOLIO_CUSTOMIZATION_ROADMAP.md](planning/PORTFOLIO_CUSTOMIZATION_ROADMAP.md) | Customization roadmap |
| [planning/PRODUCTION_FEATURES.md](planning/PRODUCTION_FEATURES.md) | Production features |
| [planning/PRODUCTION_READINESS_PLAN.md](planning/PRODUCTION_READINESS_PLAN.md) | Production readiness |
| [planning/QUANTUM_INTEGRATION_ROADMAP.md](planning/QUANTUM_INTEGRATION_ROADMAP.md) | Quantum integration roadmap |
| [planning/WALKTHROUGH_SUMMARY.md](planning/WALKTHROUGH_SUMMARY.md) | Walkthrough summary |

## Other

| Document | Description |
|----------|-------------|
| [misc/qwen.md](misc/qwen.md) | Supplementary notes |

## Examples & tutorials

| File | Description |
|------|-------------|
| [../examples/basic_qsw_example.py](../examples/basic_qsw_example.py) | Basic QSW optimization |
| [../examples/advanced_quantum_methods.py](../examples/advanced_quantum_methods.py) | Advanced quantum techniques |
| [../examples/quantum_integration_example.py](../examples/quantum_integration_example.py) | Full integration example |

## Deployment

| Document | Description |
|----------|-------------|
| [HUGGINGFACE_SPACES.md](HUGGINGFACE_SPACES.md) | Deploy to Hugging Face Spaces |
| [../deploy_production.sh](../deploy_production.sh) | Production deployment script |
| [../deploy_hf_spaces.sh](../deploy_hf_spaces.sh) | HF Spaces deployment script |
| [../docker-compose.yml](../docker-compose.yml) | Docker Compose configuration |

## Development

| Document | Description |
|----------|-------------|
| [NEXT_STEPS.md](NEXT_STEPS.md) | Development roadmap and tasks |
| [../demo_dashboard_features.sh](../demo_dashboard_features.sh) | Dashboard feature demo script |

## Testing

| File | Description |
|------|-------------|
| [../tests/test_api_integration.py](../tests/test_api_integration.py) | API integration tests |
| [../tests/test_api.py](../tests/test_api.py) | API unit tests |
| [../tests/test_api_productization.py](../tests/test_api_productization.py) | API productization tests |
| [../tests/test_braket_backend.py](../tests/test_braket_backend.py) | Braket backend tests |

## πŸ“‹ Configuration Reference

### Environment Variables

See [`.env.example`](.env.example) for all available variables:

| Category | Variables |
|----------|-----------|
| **Application** | `FLASK_ENV`, `LOG_LEVEL`, `PORT` |
| **Security** | `SECRET_KEY`, `JWT_SECRET_KEY`, `API_KEY`, `ADMIN_API_KEY` |
| **Database** | `DATABASE_URL`, `DB_PASSWORD` |
| **Redis** | `REDIS_HOST`, `REDIS_PORT`, `REDIS_PASSWORD` |
| **Rate Limiting** | `RATELIMIT_ENABLED`, `MAX_REQUESTS_PER_MINUTE` |
| **Portfolio** | `MAX_ASSETS`, `MAX_EVOLUTION_TIME`, `QUANTUM_COMPUTE_TIMEOUT` |
| **Market Data** | `YFINANCE_RATE_LIMIT`, `YFINANCE_TIMEOUT` |
| **AWS Braket** | `AWS_REGION`, `BRAKET_DEVICE_ARN` |
| **Caching** | `CACHE_TTL` |
| **CORS** | `CORS_ORIGINS` |
| **Monitoring** | `SENTRY_DSN` |
| **Jobs** | `JOB_WORKERS` |

### QSW Configuration

| Parameter | Default | Description |
|-----------|---------|-------------|
| `default_omega` | 0.3 | Coupling strength |
| `evolution_time` | 10 | Evolution duration |
| `max_turnover` | 0.15 | Maximum portfolio turnover |
| `stability_blend_factor` | 0.7 | Stability vs optimization blend |
| `max_weight` | 0.10 | Maximum weight per asset |
| `min_weight` | 0.01 | Minimum weight per asset |

## πŸ“š Research & Citations

### Key Papers

- **Chang et al. (2025)** β€” Quantum Stochastic Walks for portfolio optimization
- **LΓ³pez de Prado (2016)** β€” Hierarchical Risk Parity (SSRN 2708678)
- **Farhi et al. (2014)** β€” Quantum Approximate Optimization Algorithm (QAOA)
- **Peruzzo et al. (2014)** β€” Variational Quantum Eigensolver (VQE)

### Citing This Project

```bibtex
@software{quantum_hybrid_portfolio,
  author = {Quantum Global Group},
  title = {Quantum Hybrid Portfolio: Quantum-Inspired Optimization},
  year = {2026},
  url = {https://github.com/Quantum-Global-Group/quantum-hybrid-portfolio}
}
```

## πŸ”— External Resources

- [AWS Braket Documentation](https://docs.aws.amazon.com/braket/)
- [yfinance Documentation](https://pypi.org/project/yfinance/)
- [Flask Documentation](https://flask.palletsprojects.com/)
- [React Documentation](https://react.dev/)

## πŸ“ž Support

- **GitHub Issues:** [Report bugs or request features](https://github.com/Quantum-Global-Group/quantum-hybrid-portfolio/issues)
- **API Health:** `GET /api/health` when running the API
- **Metrics:** `GET /metrics` for Prometheus metrics

---

*Last updated: March 2026*