Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #97

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Develop #97

wants to merge 9 commits into from

Conversation

S-Linde
Copy link
Collaborator

@S-Linde S-Linde commented Jan 7, 2025

This pull request contains following:

  • Benchmarking API
  • Improved styling (ruff)
  • Faster github actions (uv and a precompiled cpu version of torch)

S-Linde and others added 9 commits August 12, 2024 11:16
* some first benchmarking metrics for InitialMapping and Routing + tests (still failing)

* progress, still some fixes needed.

* some metrics

* more routing metrics + isort + black

* Cleanup

* Improved performance

* First shot at benchmarking workflow

* 'fix' pytest

* addd tests and docstrings

* Happify mypy

* Initial idea qiskit MapperWrapper

* Documentation

* Docstrings

* Add tests for qiskit_utils

* bugfix

* Add tests for MaxCutQAOA generator

* Happify pylint

* Update qgym/generators/qiskit_circuit.py

Co-authored-by: Roberto Turrado Camblor <rturrado@gmail.com>

* Update qgym/generators/qiskit_circuit.py

Co-authored-by: Roberto Turrado Camblor <rturrado@gmail.com>

* Apply suggestions

* Implement suggestions

* Implement suggestions

* Happify mypy and pylint

* Implement suggestions

---------

Co-authored-by: Willem de kok <willem.dekok@tno.nl>
Co-authored-by: Roberto Turrado Camblor <rturrado@gmail.com>
* Refactor

* Add AgentMapperWrapper

* Tests for AgentMapperWrapper

* Drop support for python38

* Happify pylint

* black & isort

* Happify mypy

* Update workflow

* Test uv workflow

* Bugfix workflow

* test

* bugfix

* Dufferent mypy call

* test

* test

* Change order

* Add venv

* Reset workflow

* Update qgym/benchmarks/metrics/initial_mapping_metrics.py

Co-authored-by: Willem de Kok <102517616+Willem-de-kok@users.noreply.github.com>

* Update qgym/wrappers/initial_mapping.py

Co-authored-by: Willem de Kok <102517616+Willem-de-kok@users.noreply.github.com>

* Hapify linters

* Isort

* Update mypy workflow

* Happify mypy

* HAPPIFY MYPY

---------

Co-authored-by: Willem de Kok <102517616+Willem-de-kok@users.noreply.github.com>
* Add get_interaction_circuit

* First attempt swap adder

* Add tests for swap instertion method

* Add tests for routing wrappers

* Replace qreg_to_int with qiskit Layout

* Test uv for mypy action

* version 312

* Workflow

* UV pylint

* Bugfix

* No venv for uv

* UV for pytest

* Add python313 to compatibility

* Use CPU wheel for torch

* Remove 313 compaitibility

* Style

* Add wrapper templates

* Style

* fix test

* fix black

* fix test

* Remove breakpoint()

* Add support for python 313

* Use unsage index strategy

* fix black

* Finish routing metrics

* Add tests

* Add RoutingBenchmaker

* Linters

* Make Circuit and CircuitLike as benchmark input

* Pylint

* mypy?

* mypy?

* Happify mypy?

* mypy?

* mypy
* Add get_interaction_circuit

* First attempt swap adder

* Add tests for swap instertion method

* Add tests for routing wrappers

* Replace qreg_to_int with qiskit Layout

* Test uv for mypy action

* version 312

* Workflow

* UV pylint

* Bugfix

* No venv for uv

* UV for pytest

* Add python313 to compatibility

* Use CPU wheel for torch

* Remove 313 compaitibility

* Style

* Add wrapper templates

* Style

* fix test

* fix black

* fix test

* Remove breakpoint()

* Add support for python 313

* Use unsage index strategy

* fix black

* Finish routing metrics

* Add tests

* Add RoutingBenchmaker

* Linters

* Make Circuit and CircuitLike as benchmark input

* Pylint

* mypy?

* mypy?

* Happify mypy?

* mypy?

* mypy

* Add safe fixes

* Happify ruff

* pydocstyle

* pylint

* Fix mypy issues (numpy bug)

* Happify MYPY

* Update github actions

* Happify ruff
* First attempt swap adder

* Add tests for swap instertion method

* Remove 313 compaitibility

* Add support for python 313

* Add RoutingBenchmaker

* Linters

* Make Circuit and CircuitLike as benchmark input

* Pylint

* mypy?

* Happify mypy?

* mypy?

* mypy

* Add safe fixes

* Happify ruff

* pydocstyle

* pylint

* Fix mypy issues (numpy bug)

* Happify MYPY

* Update github actions

* Happify ruff

* format

* tst

* Update workflow

* mypy?

* mypy
@S-Linde S-Linde requested a review from Willem-de-kok January 7, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant