Skip to content

Quick Start Guide

Get up and running with Q-Memetic AI in minutes! This guide will walk you through your first memetic evolution experiment.

Prerequisites

  • Python 3.9 or higher
  • QuantumMeta license key (Get one here)
  • 8GB+ RAM recommended

🚀 Your First Meme Evolution

1. Install Q-Memetic AI

pip install qmemetic-ai

2. Set Your License Key

export QMEMETIC_LICENSE_KEY="your-license-key-here"
import os
os.environ['QMEMETIC_LICENSE_KEY'] = 'your-license-key-here'
qmemetic --license-key your-license-key-here [command]

3. Create Your First Meme

from qmemetic_ai import MemeticEngine

# Initialize the engine
engine = MemeticEngine()

# Create your first meme
meme = engine.create_meme(
    content="The future belongs to those who understand quantum computing",
    author="your_name",
    domain="technology",
    tags=["quantum", "future", "computing"]
)

print(f"Created meme: {meme.meme_id}")
print(f"Fitness score: {meme.vector.fitness_score:.3f}")

4. Evolve Your Meme

# Evolve the meme over 5 generations
evolved_memes = engine.evolve(
    memes=[meme],
    generations=5,
    population_size=20
)

# Display top evolved memes
for i, evolved_meme in enumerate(evolved_memes[:3]):
    print(f"#{i+1}: {evolved_meme.content[:80]}...")
    print(f"   Fitness: {evolved_meme.vector.fitness_score:.3f}")
    print(f"   Generation: {evolved_meme.metadata.generation}")
    print()

5. Create Entanglement Network

# Create quantum entanglement between memes
network_data = engine.entangle()

print(f"Network has {network_data['statistics']['total_nodes']} nodes")
print(f"Network density: {network_data['statistics']['density']:.3f}")

6. Visualize the Noosphere

# Create an interactive visualization
viz_path = engine.visualize_noosphere(
    network_data=network_data,
    layout="force_directed",
    save_path="my_noosphere.html"
)

print(f"Visualization saved to: {viz_path}")

🎯 CLI Quick Start

Prefer command line? Try this:

# Create and evolve a meme
qmemetic evolve --input "AI will revolutionize education" --generations 10 --visualize

# Check system status
qmemetic status

# Create entanglement visualization
qmemetic create --content "Quantum computing is the future" --author researcher
qmemetic entangle --meme-id [your-meme-id] --depth 3

🏗️ Next Steps

Now that you've run your first experiment, explore:

  1. Examples - More complex use cases
  2. CLI Reference - Complete command documentation
  3. Theory - Understanding the science behind Q-Memetic AI
  4. API Reference - Detailed API documentation

🔧 Common Issues

License Validation Failed

If you see license errors: 1. Verify your license key is correct 2. Check internet connection (license validation required) 3. Contact support: bajpaikrishna715@gmail.com

Grace Period

New users get 24 hours of grace period to try the system before license validation.

Performance

For better performance with large populations: - Use GPU acceleration: pip install torch[cuda] - Increase memory: Set max_memory=16000 in engine config - Use federated mode for distributed computing

📊 Expected Outputs

After running the quick start, you should see:

  • Meme Evolution: Fitness scores increasing over generations
  • Network Growth: More entangled relationships forming
  • Visualization: Interactive HTML file showing your noosphere
  • Analytics: Metrics about your memetic ecosystem

Ready to dive deeper? Check out our comprehensive examples!