Getting Started =============== This package can be installed from PyPI with .. code-block:: bash pip install hybridlane[extras] The available extra flags are: - ``all``: Installs all extra flags. - ``bq``: Adds support for the ``bosonicqiskit.hybrid`` device. Developing ---------- To get started developing this package, first install the `uv `_ python package manager. Next, clone the package from Github and create the virtual environment .. code-block:: bash git clone https://www.github.com/pnnl/hybridlane cd hybridlane uv sync --all-extras This should take care of installing all the developer dependencies for you and build the package. Documentation ------------- The documentation is automatically produced by Sphinx using comments in the code. To build the documentation, run .. code-block:: bash cd docs uv run make html To enable hot-reloading (live updating) of the documentation, run .. code-block:: bash cd docs uv run sphinx-autobuild source _build/html --watch ../src --ignore "source/_autoapi/**/*.rst" --re-ignore ".*__pycache__.*" and open your browser to `http://localhost:8000 `_. For users unfamiliar with the Sphinx reStructured Text format, there is a nice cheatsheet `here `_. Testing ------- Tests can be run by pytest, optionally producing a coverage report .. code-block:: bash uv run pytest [--cov=hybridlane [--cov-report=html]]