Skip to content

Fix zero num_features#374

Merged
MoritzWillmann merged 3 commits intosQUlearn:developfrom
MoritzWillmann:fix_zero_num_features
Jan 7, 2026
Merged

Fix zero num_features#374
MoritzWillmann merged 3 commits intosQUlearn:developfrom
MoritzWillmann:fix_zero_num_features

Conversation

@MoritzWillmann
Copy link
Collaborator

sometimes num_features was set to 0, sometimes to None. This should set everything to None internally to avoid issues. Also some encoding circuits didn't use super().set_params in their respective set_params functions.

Co-authored-by: Florian Wieland <114916947+ProfessorNova@users.noreply.github.com>
@MoritzWillmann MoritzWillmann merged commit 2728816 into sQUlearn:develop Jan 7, 2026
2 of 7 checks passed
@MoritzWillmann MoritzWillmann deleted the fix_zero_num_features branch January 7, 2026 09:58
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.

2 participants