Skip to content

pasqal-io/Pasqal_Hackathon_Feb25_Team_07

Repository files navigation

Pasqal Challenge

Set-up

  1. First install the package manager uv. On Mac:

curl -LsSf https://astral.sh/uv/install.sh | sh

If that doesn't work, check out the uv docs

  1. The following command will use the pyproject.toml, uv.lock and .python-version files to properly build the virtual environment.

uv sync

  1. Activate the virtual environment.

source .venv/bin/activate

  1. Now you should be able to run the code.

To run the quantum solver:

uv run ed_quantum.py

To run the classical solver, where you can edit NUM_GENS and NUM_SCENARIOS:

uv run uc_classical_clean.py

This will output a dataset into data/.

To run the QNN on this data, qnn.ipynb has been created to guide you through the model training, evaluation and classical comparison process.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published