Skip to main content

Autonomous quantum AI research agent

Project description

QuantumMetaGPT

Quantum AI License

QuantumMetaGPT is an autonomous research agent for quantum computing that:

  1. Parses quantum research papers from arXiv
  2. Generates quantum algorithms using reinforcement learning
  3. Optimizes algorithms with hybrid quantum-classical methods
  4. Evaluates on simulators and real quantum hardware
  5. Produces scientific reports with visualizations

Architecture Overview

graph TD
    A[arXiv Paper] --> B[LLM Parser]
    B --> C[Task Synthesis]
    C --> D[RL Algorithm Generation]
    D --> E[Hybrid Optimization]
    E --> F[Quantum Evaluation]
    F --> G[Report Generation]
    G --> H[PDF/LaTeX Report]

Key Features

  1. Hybrid Quantum-AI Development: Combines LLMs with quantum circuit optimization

  2. Reinforcement Learning: PPO, A2C, DDPG, and SAC agents for algorithm discovery

  3. Hardware Integration: Runs on Qiskit simulators and IBM Quantum backends

  4. Automated Reporting: Generates publication-ready reports with visualizations

  5. Security System: Hardware-bound licensing with AES-256 encryption

Installation

# Clone repository
git clone https://github.com/yourusername/QuantumMetaGPT.git
cd QuantumMetaGPT

# Install dependencies
pip install -r requirements.txt

# Set environment variables
export IBMQ_TOKEN="your_ibmq_token"
export OPENAI_API_KEY="your_openai_key"

# Generate license
python -m qmetagpt.security_licensing.cli_license generate
Usage
python
from QuantumMetaGPT import run_pipeline

# Run full pipeline
run_pipeline(arxiv_id="quant-ph/2310.12345")

Module Structure

quantummetagpt/
├── llm_paper_parser       # arXiv paper processing
├── task_synthesizer       # Quantum task formalization
├── quantum_algorithm_generator  # RL-based circuit generation
├── optimizer_engine       # Hybrid quantum-classical optimization
├── evaluation_engine      # Quantum hardware evaluation
├── report_generator       # Scientific report creation
├── security_licensing     # License management
└── utils                  # Logging and error handling

Contributing Contributions are welcome! Please see our contribution guidelines.

License Apache 2.0 - See LICENSE for details.

###CONTRIBUTING.md

# Contribution Guidelines

We welcome contributions to QuantumMetaGPT! Please follow these guidelines:

## Development Setup
1. Fork the repository
2. Clone your fork: `git clone https://github.com/yourusername/QuantumMetaGPT.git`
3. Create a virtual environment: `python -m venv venv`
4. Activate environment: `source venv/bin/activate`
5. Install dependencies: `pip install -r requirements-dev.txt`

## Coding Standards
- Follow PEP 8 style guide
- Use type hints for all function signatures
- Document public methods with docstrings
- Write unit tests for new features
- Keep modules focused and cohesive

## Testing
Run the test suite with:
```bash
pytest --cov=qmetagpt --cov-report=html
Pull Requests
Create a new branch for your feature: git checkout -b feature-name

Implement your changes with tests

Ensure all tests pass: pytest

Update documentation if needed

Submit a pull request to the main repository

Reporting Issues
Please use GitHub issues to report bugs or request features. Include:

Detailed description of the issue

Steps to reproduce

Expected vs actual behavior

Environment details


### 16. `LICENSE`
```text
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction, and distribution...

[Standard Apache 2.0 License Text]
17. .env.example
env
# IBM Quantum credentials
IBMQ_TOKEN="your_ibmq_token"

# OpenAI API
OPENAI_API_KEY="your_openai_key"

# LLM configuration
LLM_MODEL="gpt-4"
LLM_TEMPERATURE=0.7

# Quantum backend
QUANTUM_BACKEND="ibmq_manila"
USE_HARDWARE=false
SHOTS=1024

# RL training
RL_AGENT="PPO"
RL_TIMESTEPS=50000

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantummetagpt-0.1.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantummetagpt-0.1.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

Details for the file quantummetagpt-0.1.0.tar.gz.

File metadata

  • Download URL: quantummetagpt-0.1.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for quantummetagpt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 09ec70faae6900d1c23462b3a6f0958c20728c1c08e3e8483cf95814745e5ee5
MD5 93320d6fed717d173dfb34721cb45f61
BLAKE2b-256 d3a78221fd38a85ff3583a5036cf644c5ae9ee9bc45b68d8acf6386642510efc

See more details on using hashes here.

File details

Details for the file quantummetagpt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: quantummetagpt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for quantummetagpt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 076497a39aa3aed2d4ae115b2ee5860670bcbe8c65a411eefa789b04bceb9ec3
MD5 acca84f6b58ff6a37cd9a77b77f0caaf
BLAKE2b-256 251d0d3ce31a6f2a81046be2dbf44da9eca6ca87a8fd73eeef5ff8bef27add96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page