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

Revert SQRT2 definition to v0.31.0 #479

Merged
merged 8 commits into from
Aug 22, 2023
Merged

Revert SQRT2 definition to v0.31.0 #479

merged 8 commits into from
Aug 22, 2023

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr commented Aug 22, 2023

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


Context:
Importing sqrt2_v from the <numbers> header breaks the LGPU builds.

Description of the Change:
Revert SQRT2 definition to v0.31.0.

Benefits:
LGPU can move forward.

Possible Drawbacks:

Related GitHub Issues:
PennyLaneAI/pennylane-lightning-gpu#134

@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #479 (a477f47) into master (d853d80) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #479   +/-   ##
=======================================
  Coverage   97.22%   97.22%           
=======================================
  Files         142      142           
  Lines       16420    16420           
=======================================
  Hits        15964    15964           
  Misses        456      456           
Files Changed Coverage Δ
...it/algorithms/tests/Test_VectorJacobianProduct.cpp 100.00% <ø> (ø)
pennylane_lightning/core/_version.py 100.00% <100.00%> (ø)
pennylane_lightning/core/src/utils/Util.hpp 97.58% <100.00%> (ø)

@vincentmr vincentmr marked this pull request as ready for review August 22, 2023 16:58
Copy link
Member

@mlxd mlxd left a comment

Choose a reason for hiding this comment

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

Thanks @vincentmr
Feel free to merge once the CI is completed

doc/requirements.txt Outdated Show resolved Hide resolved
Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

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

Since we are not removing the numbers header anymore, could you please update the PR title and description?

@vincentmr vincentmr changed the title Do not import numbers header in main code. Revert SQRT2 definition to v0.31.0 Aug 22, 2023
Copy link
Contributor

@AmintorDusko AmintorDusko left a comment

Choose a reason for hiding this comment

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

Thank you for that!

@mlxd mlxd merged commit 1f03368 into master Aug 22, 2023
60 checks passed
@mlxd mlxd deleted the bugfix/numbers branch August 22, 2023 19:05
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.

3 participants