Getting Started with QuantumLangChain¶
Welcome to QuantumLangChain! This guide will help you get up and running with the world's most advanced hybrid quantum-classical AI framework.
Installation¶
Prerequisites¶
- Python 3.8 or higher
- pip package manager
- Optional: GPU support for enhanced performance
Install from PyPI (Recommended)¶
Install from Source¶
git clone https://github.com/krishna-bajpai/quantumlangchain.git
cd quantumlangchain
pip install -e .
Development Installation¶
git clone https://github.com/krishna-bajpai/quantumlangchain.git
cd quantumlangchain
pip install -e ".[dev]"
Dependencies¶
QuantumLangChain automatically installs the core dependencies:
Quantum Computing Backends¶
- Qiskit - IBM's quantum computing framework
- PennyLane - Xanadu's quantum machine learning library
- Amazon Braket SDK - AWS quantum computing service
AI/ML Libraries¶
- LangChain - Base chain and agent framework
- transformers - Hugging Face transformers
- torch - PyTorch for neural networks
- numpy - Numerical computing
Vector Stores¶
- ChromaDB - Vector database for embeddings
- FAISS - Facebook AI Similarity Search
- Sentence Transformers - Text embeddings
Optional Dependencies¶
For enhanced functionality, install optional packages:
# Quantum hardware support
pip install qiskit-ibm-runtime qiskit-aer
# Advanced ML capabilities
pip install datasets gymnasium
# Visualization
pip install matplotlib plotly
# Development tools
pip install pytest black flake8 mypy
Quick Verification¶
Test your installation:
import quantumlangchain as qlc
# Check version
print(f"QuantumLangChain version: {qlc.__version__}")
# Test quantum backend
from quantumlangchain.backends import QiskitBackend
backend = QiskitBackend()
print(f"Quantum backend ready: {backend.get_backend_info()}")
Next Steps¶
- ๐ Quick Start Guide - Your first quantum AI chain
- ๐๏ธ Architecture Overview - Understanding the framework
- ๐งช Examples - Comprehensive examples
- ๐ API Reference - Detailed API documentation
Getting Help¶
- ๐ Documentation
- ๐ Issues
- ๐ฌ Discussions
- ๐ง Email Support
System Requirements¶
Minimum Requirements¶
- CPU: 2+ cores
- RAM: 4GB
- Storage: 1GB free space
- Python: 3.8+
Recommended Specifications¶
- CPU: 4+ cores (Intel/AMD x64 or Apple Silicon)
- RAM: 8GB+ (16GB for large quantum simulations)
- GPU: CUDA-compatible for accelerated computing
- Storage: 5GB+ SSD storage
- Network: Stable internet for quantum cloud access
Supported Platforms¶
- โ Linux (Ubuntu 20.04+, CentOS 8+)
- โ macOS (10.15+, including Apple Silicon)
- โ Windows (10/11, WSL2 recommended)
- โ Docker containers
- โ Google Colab and Jupyter environments
License¶
QuantumLangChain is open source software licensed under the MIT License.