Skip to content

Conversation

NoureldinYosri
Copy link
Contributor

@NoureldinYosri NoureldinYosri commented Apr 30, 2025

No description provided.

Comment on lines +663 to +669
and target
== (
x
* y
* pow(2, (self.bitsize + self._add_extra_qubit) * (self.mod - 2), self.mod)
)
% self.mod
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you refactor this so it isn't formatted as badly. One possibility would be to refactor into an if x: raise AssertionError

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