Skip to content

Remove redundant modulo operation in QAOA classical angle optimization#458

Open
mhucka wants to merge 2 commits intoquantumlib:mainfrom
mhucka:remove-redundant-modulo
Open

Remove redundant modulo operation in QAOA classical angle optimization#458
mhucka wants to merge 2 commits intoquantumlib:mainfrom
mhucka:remove-redundant-modulo

Conversation

@mhucka
Copy link
Collaborator

@mhucka mhucka commented Feb 12, 2026

The degree_list is already computed modulo 2, making the subsequent % 2 checks redundant. Removed the redundant operations and the associated TODO comment.

mhucka and others added 2 commits February 12, 2026 03:59
The `degree_list` is already computed modulo 2, making the subsequent `% 2` checks redundant. Removed the redundant operations and the associated TODO comment.
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