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

Graph Classifier for ML device selection #197

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

flowerthrower
Copy link
Collaborator

  • additional circuit features -> graph
  • additional circuit features -> zx claculus graph
  • classifier with different underlying GNN types (Transformer, GCN, GAT)

src/mqt/predictor/ml/GNNclassifier.py Fixed Show fixed Hide fixed
]
last_hidden_dim = self.output_dim

self.out_nn = nn.Sequential(nn.Linear(last_hidden_dim, self.output_dim), self.activation_func)

Check failure

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable 'last_hidden_dim' may be used before it is initialized.
}

# Update defaults with provided kwargs
self.set_params(**kwargs)

Check warning

Code scanning / CodeQL

`__init__` method calls overridden method Warning

Call to self.
set_params
in __init__ method, which is overridden by
method MultiGNNClassifier.set_params
.
src/mqt/predictor/ml/GNN_zx.py Fixed Show fixed Hide fixed
@flowerthrower flowerthrower marked this pull request as draft June 12, 2024 11:27
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