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

Add LGPU with single GPU backend #499

Merged
merged 127 commits into from
Oct 18, 2023
Merged

Add LGPU with single GPU backend #499

merged 127 commits into from
Oct 18, 2023

Conversation

multiphaseCFD
Copy link
Member

@multiphaseCFD multiphaseCFD commented Sep 12, 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:

Add Ligtning-GPU to Pennylane-Lightning repo

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

multiphaseCFD and others added 16 commits September 12, 2023 16:52
* Add PL_BACKEND_LIST

* Update the support

* Exclude Python bindings

* Update HermitianObs name scope conflicts

* Auto update version

* Cleanup

* Update CI to build and check C++ tests of multiple backends (Linux)

* Update changelog

* Update .github/workflows/tests_linux.yml

Co-authored-by: Vincent Michaud-Rioux <[email protected]>

* Apply code review suggestions

* Update .github/workflows/tests_linux.yml

Co-authored-by: Amintor Dusko <[email protected]>

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vincent Michaud-Rioux <[email protected]>
Co-authored-by: Amintor Dusko <[email protected]>
* Update DefaultQubit to DefaultQubitLegacy

* Update changelog

* update pylint disable on fallback
@codecov
Copy link

codecov bot commented Sep 16, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (568a5b4) 99.09% compared to head (25f0880) 99.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #499      +/-   ##
==========================================
+ Coverage   99.09%   99.34%   +0.24%     
==========================================
  Files         143      167      +24     
  Lines       17183    21918    +4735     
==========================================
+ Hits        17028    21775    +4747     
+ Misses        155      143      -12     
Files Coverage Δ
pennylane_lightning/core/_serialize.py 100.00% <100.00%> (ø)
pennylane_lightning/core/_version.py 100.00% <100.00%> (ø)
...ane_lightning/core/src/algorithms/JacobianData.hpp 100.00% <100.00%> (ø)
...core/src/algorithms/tests/Test_AdjointJacobian.cpp 100.00% <100.00%> (ø)
...e/src/measurements/tests/Test_MeasurementsBase.cpp 100.00% <100.00%> (ø)
...ng/core/src/observables/tests/Test_Observables.cpp 100.00% <100.00%> (ø)
...c/simulators/lightning_gpu/StateVectorCudaBase.hpp 100.00% <100.00%> (ø)
...rs/lightning_gpu/algorithms/AdjointJacobianGPU.hpp 100.00% <100.00%> (ø)
...g_gpu/algorithms/tests/Test_AdjointJacobianGPU.cpp 100.00% <100.00%> (ø)
...rc/simulators/lightning_gpu/gates/cuGates_host.hpp 100.00% <100.00%> (ø)
... and 24 more

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@multiphaseCFD multiphaseCFD requested a review from mlxd October 17, 2023 14:38
Copy link
Contributor

@vincentmr vincentmr left a comment

Choose a reason for hiding this comment

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

Pretty much done, cheers!

.github/CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@vincentmr vincentmr left a comment

Choose a reason for hiding this comment

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

I left a suggestion for the changelog (feel free to add more), but I'm happy to approve.

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 folks --- some questions and suggestions

@multiphaseCFD multiphaseCFD requested a review from mlxd October 18, 2023 12:48
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.

Approved, but feel free to remove that last added line before merging

@multiphaseCFD
Copy link
Member Author

multiphaseCFD commented Oct 18, 2023

Thanks @mlxd and @vincentmr for reviewing this 15k lines PR!

@multiphaseCFD multiphaseCFD merged commit 0bce777 into master Oct 18, 2023
72 checks passed
@multiphaseCFD multiphaseCFD deleted the add_LGPU branch October 18, 2023 19:05
rmoyard pushed a commit to PennyLaneAI/catalyst that referenced this pull request Oct 18, 2023
This fixes the issue with building `StateVectorLQubitDynamic` against
the master branch of the lightning monorepo after merging PR
PennyLaneAI/pennylane-lightning#499.
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.

5 participants