-
-
Notifications
You must be signed in to change notification settings - Fork 21
Add GNN-Based Predictor with DAG Preprocessing #430
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
Open
antotu
wants to merge
152
commits into
munich-quantum-toolkit:main
Choose a base branch
from
antotu:gnn-branch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,499
−174
Open
Changes from 89 commits
Commits
Show all changes
152 commits
Select commit
Hold shift + click to select a range
12fad57
added function related to training and for GNN, needed to define GNN …
be734dd
Added the gnn part, must be fine-tuned hyper-params, no test
61c6824
Removed the barriers in the creation of the DAG
75875ff
🎨 pre-commit fixes
pre-commit-ci[bot] 081651c
coded tested and fixed, need to add a cross validation module
b82dc01
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu 5ebd202
fixed the problem of the predict_device_for_figure_of_merits
857cd6f
🎨 pre-commit fixes
pre-commit-ci[bot] 6081f6b
Hellinger test done: success
7c54da6
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
bb4da24
GNN predictor fixed with optuna and tested
10bb52c
🎨 pre-commit fixes
pre-commit-ci[bot] 06be0d6
GNN predictor fixed with optuna and tested
ce990e3
Modified the tolm for running on the MacOS
96ca75b
Problems modified TPESampler and not TYPESampler
a64a082
Problems modified TPESampler and not TYPESampler
f8c99b5
🎨 pre-commit fixes
pre-commit-ci[bot] e4e2742
Problems modified TPESampler and not TYPESampler
5784ff7
Problems modified TPESampler and not TYPESampler
7e17379
Test modified with number of epochs as parameter
082de05
Eliminated trained model
5ed00a9
Changed the test estimated hellinger for windows
e59a941
🎨 pre-commit fixes
pre-commit-ci[bot] 3a9f16c
Changed the test estimated hellinger for windows
c43ee01
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
92eda99
Changed the test estimated hellinger for windows
dc1aa55
Problem with windows solved eliminating warning
6809ccb
Files modified according suggestion
8c77598
Fixed the comments related to test hellinger distance and utils
antotu dc0a824
🎨 pre-commit fixes
pre-commit-ci[bot] 2419952
Fixed modification also with pre-commit
antotu 5335241
Fixed modification also with pre-commit
antotu 96096a0
Refactor the test ml predictor considering to join function related M…
antotu 4613012
Modified part of helper in order to solve problems code
antotu 1c728e2
Pre-commit has substituted Wille in Will
antotu c31cb46
Update tests/device_selection/test_predictor_ml.py
antotu 13cf0f4
🎨 pre-commit fixes
pre-commit-ci[bot] 713343f
first round fixes
antotu 17c6575
🎨 pre-commit fixes
pre-commit-ci[bot] 169b00e
pre-commit fixes
antotu 2248081
pre-commit fixes
antotu 8f90b12
Update src/mqt/predictor/ml/predictor.py
antotu 74ec34b
Update src/mqt/predictor/ml/predictor.py
antotu f99e17b
🎨 pre-commit fixes
pre-commit-ci[bot] 57b1a29
Partial modification
antotu 96232f0
Merge branch 'gnn-branch' of github.com:antotu/predictor-gnn into gnn…
antotu 61965d8
🎨 pre-commit fixes
pre-commit-ci[bot] 93f5414
fixed comments repo
antotu 95f5359
Merge branch 'gnn-branch' of github.com:antotu/predictor-gnn into gnn…
antotu 4fb7112
Modified the gates accepted
antotu 5ea1720
Modified list
antotu 312e6ea
Fixed bug Swap and Cswap gates
antotu 156b7e6
Edit for saving memory GPU
antotu 77c9f5c
Added patience as variable
antotu 1ff39e1
Updated GNN for predictions
antotu 5a2d583
partial modification guessed by bot
antotu 820895c
eliminated italian comments
antotu 8b0b51f
eliminated italian comments
antotu de738df
eliminated redundancy torch_clamp
antotu 794896e
removed small errors
antotu 29761dc
solved partial errors
antotu 3716688
Merge branch 'main' into gnn-branch
antotu 65b409b
🎨 pre-commit fixes
pre-commit-ci[bot] ef8e567
Corrected for the lint
antotu a734050
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu a43dd5a
🎨 pre-commit fixes
pre-commit-ci[bot] 07e937e
error deprecation warning of a useless library
antotu 1e29f6b
error deprecation warning of a useless library
antotu 6dc9d28
small error correction
antotu f664616
small error correction
antotu f97e164
small error correction
antotu 2e9cc1e
problem torch_geometric
antotu 1a8b1a4
problem torch_geometric
antotu 595469e
problem torch_geometric
antotu 15d4814
problem torch_geometric
antotu ca5339e
lightweight import
antotu ddb6f50
🎨 pre-commit fixes
pre-commit-ci[bot] a2cca5c
lightweight import
antotu af38ff4
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu fc48550
🎨 pre-commit fixes
pre-commit-ci[bot] 92897cb
lightweight import
antotu f27358f
return back
antotu 3af112a
🎨 pre-commit fixes
pre-commit-ci[bot] 88256c9
modified version to solve the warning of deprecation
antotu 2cf80d1
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu be5210b
modified version to solve the warning of deprecation
antotu 2e28a14
Try to fix error for windows
antotu 1e4a279
fixed some code coverage
antotu e9f698e
🎨 pre-commit fixes
pre-commit-ci[bot] ea825ff
Consider also verbose
antotu e28dc60
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu 620a1d7
🎨 pre-commit fixes
pre-commit-ci[bot] c258fe0
Consider also verbose
antotu 29cf56a
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu f412af8
🎨 pre-commit fixes
pre-commit-ci[bot] 3c077b1
Consider also verbose
antotu 8b79177
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu 2a9457d
Consider adjusted estiamted hellinger distance as regression problem
antotu 77cca31
🎨 pre-commit fixes
pre-commit-ci[bot] 1acc0cb
Fixed regression
antotu 64a94ff
Fixed regression
antotu c4cc835
Adjusted threshold for test regression
antotu 7acbec7
Fixed some code lines for more clarity
antotu 6ebded4
🎨 pre-commit fixes
pre-commit-ci[bot] 6207f97
Merge branch 'main' into gnn-branch
antotu 5828e7f
Modified a comment on test estimated_hellinger_distance
antotu a09b7dc
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
antotu fa7c1f7
Minor fixes
fa75639
Minor fixes
cfb74ed
Merge branch 'main' into gnn-branch
antotu a11f7ea
Minor fixes
1bd824e
Minor fixes
f3d7c55
Minor fixes
0992bd0
Minor fixes
2e08905
🎨 pre-commit fixes
pre-commit-ci[bot] 84165a2
Minor fixes
a67b92b
Minor fixes
909ce80
Minor fixes found
1246856
🎨 pre-commit fixes
pre-commit-ci[bot] f3ac221
Minor fixes found
77f4889
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
0558921
Minor fixes found: error in predicting hellinger distance
462e57c
Minor fixes found: error in predicting hellinger distance
a6ada4d
Minor fixes found: error in predicting hellinger distance
81d05af
Minor modifications
26fcc32
🎨 pre-commit fixes
pre-commit-ci[bot] 41f3dc8
Minor modifications
ecd5981
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
98cc955
Minor modifications
f3d17ce
Minor modifications
678f408
Minor modifications
c903056
Minor fixes code and change of libraries
128fcb6
Minor fixes code and change of libraries
2652119
Reduced ignore on warning, modified doc, and minor fixes
df44c8c
Modified documentation
92e93ea
Modified documentation
50b7a66
Modified documentation
cdaa495
Modified taking into account to not use .pt for saving dataset
3f8ed63
🎨 pre-commit fixes
pre-commit-ci[bot] cdd19f5
Modified not using pt for getting the dataset
5816e2a
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
7a3999a
Modified not using pt for getting the dataset
3884aa4
Fixes for code rabbit AI
99ad6e4
🎨 pre-commit fixes
pre-commit-ci[bot] a5fd1c9
Minor fixes
e3050f1
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
e8c50b7
Minor fixes
b23cee5
Minor fixes
cb03412
🎨 pre-commit fixes
pre-commit-ci[bot] d072b42
Minor fixes
b1ad8d3
Merge branch 'gnn-branch' of https://github.com/antotu/predictor-gnn …
a4e2671
Minor fixes
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
antotu marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # Copyright (c) 2023 - 2025 Chair for Design Automation, TUM | ||
| # Copyright (c) 2025 Munich Quantum Software Company GmbH | ||
| # All rights reserved. | ||
| # | ||
| # SPDX-License-Identifier: MIT | ||
| # | ||
| # Licensed under the MIT License | ||
|
|
||
| # file generated by setuptools-scm | ||
| # don't change, don't track in version control | ||
| from __future__ import annotations | ||
|
|
||
| __all__ = [ | ||
| "__commit_id__", | ||
| "__version__", | ||
| "__version_tuple__", | ||
| "commit_id", | ||
| "version", | ||
| "version_tuple", | ||
| ] | ||
|
|
||
| TYPE_CHECKING = False | ||
| if TYPE_CHECKING: | ||
| VERSION_TUPLE = tuple[int | str, ...] | ||
Check warningCode scanning / CodeQL Unreachable code Warning
This statement is unreachable.
|
||
| COMMIT_ID = str | None | ||
| else: | ||
| VERSION_TUPLE = object | ||
| COMMIT_ID = object | ||
|
|
||
| version: str | ||
| __version__: str | ||
| __version_tuple__: VERSION_TUPLE | ||
| version_tuple: VERSION_TUPLE | ||
| commit_id: COMMIT_ID | ||
| __commit_id__: COMMIT_ID | ||
|
|
||
| __version__ = version = "0.1.dev719+g5ea17201a.d20250908" | ||
| __version_tuple__ = version_tuple = (0, 1, "dev719", "g5ea17201a.d20250908") | ||
|
|
||
| __commit_id__ = commit_id = None | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
antotu marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.