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

[WIP] Cutensornet High-Level API exploration #680

Draft
wants to merge 75 commits into
base: master
Choose a base branch
from

Conversation

multiphaseCFD
Copy link
Member

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:

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

@multiphaseCFD multiphaseCFD added the do not merge Do not merge PR until this label is removed label Apr 12, 2024
Copy link

codecov bot commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.41%. Comparing base (5feb4a1) to head (8e8f5fb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #680      +/-   ##
==========================================
- Coverage   98.69%   98.41%   -0.28%     
==========================================
  Files         174      150      -24     
  Lines       22599    18055    -4544     
==========================================
- Hits        22303    17769    -4534     
+ Misses        296      286      -10     

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

multiphaseCFD and others added 12 commits April 12, 2024 19:11
* collapse() and normalized() with Kokkos

* Auto update version

* CodeFactor

* normalize() abort if norm is zero

* unittest for normalize()

* Auto update version

* unittest for normalize() in LighningQubit

* Auto update version

* Add MCM bindings and tests for L-Kokkos. (#672)

* Add MCM bindings and tests for L-Kokkos.

* Auto update version

* Refactor collapse.

* Try parallelizing tests.

* Only run test_native_mcm once amongst all workflows since it takes quite a bit of time.

* trigger ci

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>

* Do not run test_native_mcm with LK-GPU.

* Auto update version

* trigger ci

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/bindings/LKokkosBindings.hpp

Co-authored-by: Ali Asadi <[email protected]>

* Auto update version

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/StateVectorKokkos.hpp

Co-authored-by: Ali Asadi <[email protected]>

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/StateVectorKokkos.hpp

Co-authored-by: Ali Asadi <[email protected]>

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/StateVectorKokkos.hpp

Co-authored-by: Ali Asadi <[email protected]>

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/StateVectorKokkos.hpp

Co-authored-by: Ali Asadi <[email protected]>

* Increase shotsfor flaky test_composite_mcm_single_measure_obs

* Create separate device_allowed_operations list for ops supported by the device but not Catalyst.

* Use isinstance instead of name comparison.

* Check projector.

* Update operations at device init.

* Modify stopping condition in LK.

* Cannot use instance with Hamiltonian check.

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/tests/Test_StateVectorLKokkos.cpp

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

* Update pennylane_lightning/core/src/simulators/lightning_kokkos/StateVectorKokkos.hpp

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

* Remove obsolete comment.

* Auto update version

* trigger ci

---------

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: Vincent Michaud-Rioux <[email protected]>
Co-authored-by: Ali Asadi <[email protected]>
Co-authored-by: Amintor Dusko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Do not merge PR until this label is removed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants