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

Refactor python kernel #2024

Closed
wants to merge 3 commits into from
Closed

Conversation

sacpis
Copy link
Collaborator

@sacpis sacpis commented Jul 29, 2024

Refactoring kernel_builder and kernel_decorator

* Removing redundant overloaded methods
* Using ternary conditional operator
* Using set for constant lookup
* Using np function to check for normalization
* Optimizing control loop
* Using textwrap to remove leading spaces from the source code
@sacpis sacpis marked this pull request as draft July 29, 2024 20:57
@bmhowe23
Copy link
Collaborator

Just a recommendation ... it would probably be best to hold off on requesting reviews until a PR passes the CI. Otherwise, people will likely have to re-review it once additional changes are applied.

github-actions bot pushed a commit that referenced this pull request Jul 29, 2024
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Jul 29, 2024
@sacpis
Copy link
Collaborator Author

sacpis commented Jul 30, 2024

Closing this for now. Will be drafting one file at a time.

@sacpis sacpis closed this Jul 30, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants