48 líneas
1.1 KiB
Plaintext
48 líneas
1.1 KiB
Plaintext
# MCP Quantum Server Environment Configuration
|
|
|
|
# Server Configuration
|
|
SERVER_PORT=3000
|
|
SERVER_HOST=localhost
|
|
NODE_ENV=development
|
|
|
|
# MCP Configuration
|
|
MCP_SERVER_NAME=cuda-quantum-mcp
|
|
MCP_SERVER_VERSION=1.0.0
|
|
|
|
# CUDA Quantum Configuration
|
|
CUDAQ_PYTHON_PATH=/usr/local/bin/python3
|
|
CUDAQ_DEFAULT_TARGET=qpp-cpu
|
|
CUDAQ_LOG_LEVEL=info
|
|
|
|
# GPU Configuration
|
|
CUDA_VISIBLE_DEVICES=0
|
|
NVIDIA_VISIBLE_DEVICES=all
|
|
CUDAQ_ENABLE_GPU=true
|
|
|
|
# Quantum Hardware Backends (optional)
|
|
# QUANTUM_MACHINES_API_KEY=your_qm_api_key_here
|
|
# IONQ_API_KEY=your_ionq_api_key_here
|
|
# QUANTINUUM_API_KEY=your_quantinuum_api_key_here
|
|
# IBM_API_KEY=your_ibm_api_key_here
|
|
|
|
# Security
|
|
JWT_SECRET=your_jwt_secret_here
|
|
API_KEY=your_api_key_here
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
LOG_FILE_PATH=./logs/mcp-quantum.log
|
|
|
|
# Performance
|
|
MAX_CONCURRENT_JOBS=10
|
|
QUANTUM_CIRCUIT_TIMEOUT=30000
|
|
MAX_QUBITS=32
|
|
MAX_SHOTS=100000
|
|
|
|
# Python Bridge Configuration
|
|
# Timeout for Python commands in milliseconds
|
|
# Default: 300000 (5 minutes)
|
|
# Increase for complex quantum operations or slower hardware
|
|
PYTHON_TIMEOUT=300000
|
|
PYTHON_MEMORY_LIMIT=2048
|
|
``` |