Sync app_dashboard.py from v8.1.33
Browse files- app_dashboard.py +31 -30
app_dashboard.py
CHANGED
|
@@ -1,30 +1,31 @@
|
|
| 1 |
-
"""
|
| 2 |
-
Dense Evolution
|
| 3 |
-
------------------------------------------------------------
|
| 4 |
-
Two pages sharing one AI vector-healing engine:
|
| 5 |
-
- Quantum Simulator (ui_pages/quantum_simulator.py): circuit execution,
|
| 6 |
-
VQE/MD telemetry — both routed through the AI shield before rendering.
|
| 7 |
-
- Vector Healing (ui_pages/vector_healing.py): interactive sandbox for
|
| 8 |
-
the same shield (ia_utils.vector_healing.enhanced_dense_healing_hybrid).
|
| 9 |
-
|
| 10 |
-
Run with:
|
| 11 |
-
pip install streamlit
|
| 12 |
-
streamlit run app_dashboard.py
|
| 13 |
-
"""
|
| 14 |
-
|
| 15 |
-
import
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
st.Page(
|
| 28 |
-
st.Page(
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Dense Evolution - Interactive Dashboard (entrypoint)
|
| 3 |
+
------------------------------------------------------------
|
| 4 |
+
Two pages sharing one AI vector-healing engine:
|
| 5 |
+
- Quantum Simulator (ui_pages/quantum_simulator.py): circuit execution,
|
| 6 |
+
VQE/MD telemetry — both routed through the AI shield before rendering.
|
| 7 |
+
- Vector Healing (ui_pages/vector_healing.py): interactive sandbox for
|
| 8 |
+
the same shield (ia_utils.vector_healing.enhanced_dense_healing_hybrid).
|
| 9 |
+
|
| 10 |
+
Run with:
|
| 11 |
+
pip install streamlit
|
| 12 |
+
streamlit run app_dashboard.py
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
import dense_evolution
|
| 16 |
+
import streamlit as st
|
| 17 |
+
|
| 18 |
+
from ui_pages import quantum_simulator, vector_healing, quantum_scars
|
| 19 |
+
|
| 20 |
+
st.set_page_config(
|
| 21 |
+
page_title=f"Dense Evolution v{dense_evolution.__version__} - Dashboard",
|
| 22 |
+
page_icon="🧬",
|
| 23 |
+
layout="wide",
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
pg = st.navigation([
|
| 27 |
+
st.Page(quantum_simulator.render, title="Quantum Simulator", icon="⚛️", url_path="quantum-simulator", default=True),
|
| 28 |
+
st.Page(vector_healing.render, title="Vector Healing", icon="🧬", url_path="vector-healing"),
|
| 29 |
+
st.Page(quantum_scars.render, title="Quantum Scars", icon="🌀", url_path="quantum-scars"),
|
| 30 |
+
])
|
| 31 |
+
pg.run()
|