Thank you for your interest in contributing to SuperQuantX! We welcome contributions from researchers, developers, and educators in the quantum computing community.
- Getting Started
- Development Environment Setup
- Types of Contributions
- Development Workflow
- Code Standards
- Testing Guidelines
- Documentation
- Submitting Changes
- Research Contributions
- Python 3.9 or higher
- Git
- uv (recommended) or pip
- Basic understanding of quantum computing concepts
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone the repository
git clone https://github.com/SuperagenticAI/superquantx.git
cd superquantx
# Create and activate virtual environment with all dev dependencies
uv sync --extra full-dev
# Activate the environment
source .venv/bin/activate # On Windows: .venv\Scripts\activate# Clone the repository
git clone https://github.com/SuperagenticAI/superquantx.git
cd superquantx
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in development mode
pip install -e ".[full-dev]"# Run tests to verify everything works
pytest
# Check code formatting
black --check src/ tests/
ruff check src/ tests/
# Run type checking
mypy src/- New quantum algorithms or improvements to existing ones
- Novel quantum-agentic system architectures
- Performance benchmarks and comparisons
- Research examples and tutorials
- Bug fixes and performance improvements
- New quantum backend integrations
- Enhanced error handling and logging
- Code optimizations
- API documentation improvements
- Tutorial and example updates
- Research paper implementations
- Translation improvements
- Unit test improvements
- Integration tests for new backends
- Performance benchmarks
- Edge case coverage
# Fork the repository on GitHub, then:
git clone https://github.com/YOUR-USERNAME/superquantx.git
cd superquantx
git remote add upstream https://github.com/SuperagenticAI/superquantx.gitgit checkout -b feature/quantum-awesome-algorithm
# or
git checkout -b fix/backend-connection-issue
# or
git checkout -b docs/improve-getting-started- Follow our code standards
- Write tests for new functionality
- Update documentation as needed
- Ensure all tests pass
# Stage your changes
git add .
# Commit with a clear message
git commit -m "feat: add quantum awesome algorithm
- Implement quantum awesome algorithm for classification
- Add comprehensive tests and benchmarks
- Update documentation with usage examples
- Resolves #123"We follow the Conventional Commits specification:
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
Types:
feat: New featuresfix: Bug fixesdocs: Documentation changestest: Test additions/changesrefactor: Code refactoringperf: Performance improvementsci: CI/CD changes
We use modern Python formatting tools:
# Format code with Black
black src/ tests/
# Sort imports with isort (integrated in Ruff)
ruff check --fix src/ tests/
# Lint with Ruff
ruff check src/ tests/All public functions must include type hints:
from typing import Dict, List, Optional, Union
import numpy as np
def quantum_algorithm(
data: np.ndarray,
backend: str = "simulator",
shots: int = 1024,
options: Optional[Dict[str, Any]] = None
) -> Dict[str, Union[np.ndarray, float]]:
"""Execute a quantum algorithm with specified parameters."""
if options is None:
options = {}
# Implementation here
return {"result": data, "shots_used": shots}We follow the Google docstring style with comprehensive examples.
# Run all tests
pytest
# Run with coverage
pytest --cov=superquantx
# Run only fast tests
pytest -m "not slow"Documentation is built with MkDocs and auto-generated from docstrings.
# Build and serve docs locally
mkdocs serve- Run full test suite:
pytest - Check formatting:
black --check src/ tests/ - Run linting:
ruff check src/ tests/ - Type check:
mypy src/ - Update documentation if needed
- Create Pull Request with clear description
For novel quantum algorithms:
- Include literature references
- Document quantum advantage
- Provide benchmarks vs classical methods
- Follow our algorithm interface patterns
- Discussions: GitHub Discussions
- Issues: Bug Reports
- Email: research@super-agentic.ai
Thank you for contributing to quantum-agentic AI research! 🚀🔬