Installation

The QDecomp package can be installed from source by following the following steps:

  1. Clone the repository

git clone https://github.com/polyquantique/QDecomp.git
cd QDecomp
  1. (Optional) Create and activate a virtual environment

  • Linux / macOS:

    python3 -m venv venv
    source venv/bin/activate
    
  • Windows (Command Prompt):

    python -m venv venv
    venv\Scripts\activate
    
  1. Install the package and dependencies

  • Standard installation:

    pip install .
    
  • Editable (developer) installation:

    pip install -e .[dev]
    
  1. (Optional) Run the tests

pip install pytest
pytest tests