Thank you for your interest in contributing to OpenQASM Compiler! This document provides guidelines and instructions for contributing to the project.
Please read and follow our Code of Conduct in all your interactions with the project.
- Fork the repository
- Create a new branch for your feature/fix
- Make your changes
- Run tests to ensure everything works
- Submit a pull request
- Clone your fork:
git clone https://github.com/your-username/OpenQASMCompiler.git
cd OpenQASMCompiler- Install dependencies:
mkdir build && cd build
cmake ..
make- Run tests:
ctest- Follow the existing code style
- Write clear, concise commit messages
- Include tests for new features
- Update documentation as needed
- Use English for all comments and documentation
- Update the README.md with details of changes if needed
- Update the documentation if needed
- The PR must pass all tests
- The PR must be reviewed by at least one maintainer
When reporting issues, please include:
- A clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Environment details (OS, compiler version, etc.)
For feature requests:
- Describe the feature in detail
- Explain why it would be useful
- Provide example use cases if possible
Feel free to open an issue for any questions about contributing to the project.