Skip to content

Commit 7ae6cf4

Browse files
authored
Merge pull request #255 from sorydima/blackboxai/quantum-mesh-optimization
feat: Implement quantum mesh optimization for packet routing
2 parents 3a8267a + b75dd81 commit 7ae6cf4

File tree

4 files changed

+542
-1
lines changed

4 files changed

+542
-1
lines changed

ai/ai_quantum_core/__init__.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
"""
2+
AI Quantum Core Module for SynapseSDK
3+
4+
This module provides quantum-inspired AI capabilities for the REChain network,
5+
including graph neural networks for device relationship modeling and
6+
federated learning across mesh networks.
7+
"""
8+
9+
__version__ = "1.0.0"
10+
__author__ = "REChain AI Solutions"
11+
12+
from .device_graph import DeviceGraph
13+
from .quantum_optimizer import QuantumPacketOptimizer, RoutingConstraints, RoutingPath
14+
15+
# Optional imports - only load if dependencies are available
16+
try:
17+
from .graph_trainer import QuantumGraphTrainer
18+
_HAS_TORCH = True
19+
except ImportError:
20+
_HAS_TORCH = False
21+
QuantumGraphTrainer = None
22+
23+
__all__ = ['DeviceGraph', 'QuantumPacketOptimizer', 'RoutingConstraints', 'RoutingPath']
24+
25+
if _HAS_TORCH:
26+
__all__.append('QuantumGraphTrainer')

0 commit comments

Comments
 (0)