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] Get site_packages path with pybind11 API in C++ backend #701

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

Commits on Apr 26, 2024

  1. initial commit

    multiphaseCFD committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    f18a66e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3b9a22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b6e649 View commit details
    Browse the repository at this point in the history
  4. tidy up

    multiphaseCFD committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    11d2cb3 View commit details
    Browse the repository at this point in the history
  5. test for windows

    multiphaseCFD committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    141f4db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e91975e View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    c813e21 View commit details
    Browse the repository at this point in the history
  2. add scipy to setup

    multiphaseCFD committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    951e231 View commit details
    Browse the repository at this point in the history
  3. update pybind11

    multiphaseCFD committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    def8a26 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    e7815ae View commit details
    Browse the repository at this point in the history
  2. quick fix

    multiphaseCFD committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9872e45 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Configuration menu
    Copy the full SHA
    25bea68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2ac6a0 View commit details
    Browse the repository at this point in the history
  3. add pybind11 dependency

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    26983ca View commit details
    Browse the repository at this point in the history
  4. tidy up code

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    6fd0af4 View commit details
    Browse the repository at this point in the history
  5. Trigger CI

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    24dd8d0 View commit details
    Browse the repository at this point in the history
  6. add changelog

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    1ad1e6d View commit details
    Browse the repository at this point in the history
  7. update pybind11

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    b91a358 View commit details
    Browse the repository at this point in the history
  8. update python version

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    7863c2a View commit details
    Browse the repository at this point in the history
  9. add pybind11 dependency

    multiphaseCFD committed May 10, 2024
    Configuration menu
    Copy the full SHA
    186e423 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. set diferent pyv

    multiphaseCFD committed May 13, 2024
    Configuration menu
    Copy the full SHA
    a54aea7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5507f89 View commit details
    Browse the repository at this point in the history
  3. Remove CPhase + Tidy up src (#717)

    * Remove CPhase; Tidy up NDPermuter, gh scripts, and doc
    
    * Add release_notes to docs
    
    * Auto update version from '0.37.0-dev0' to '0.37.0-dev2'
    
    * Update changelog
    
    * Auto update version from '0.37.0-dev2' to '0.37.0-dev3'
    
    * trigger ci
    
    * Revert change in config.h
    
    * Update
    
    * Update
    
    * Update
    
    * Auto update version from '0.37.0-dev3' to '0.37.0-dev4'
    
    * Fix _version
    
    * Auto update version from '0.37.0-dev6' to '0.37.0-dev7'
    
    * Update format
    
    * trigger ci
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed May 13, 2024
    Configuration menu
    Copy the full SHA
    20019d8 View commit details
    Browse the repository at this point in the history
  4. Update LQ's MCM treatment following dynamic_one_shot update. (#724)

    * Update LQ's mcm workflow.
    
    * Auto update version from '0.37.0-dev6' to '0.37.0-dev7'
    
    * Update changelog
    
    * trigger ci
    
    * trigger ci
    
    * Fix paths-ignore for python tests.
    
    * Update .github/CHANGELOG.md
    
    * Auto update version from '0.37.0-dev7' to '0.37.0-dev8'
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed May 13, 2024
    Configuration menu
    Copy the full SHA
    972ba59 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b314eca View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    20ffe39 View commit details
    Browse the repository at this point in the history
  7. debug

    multiphaseCFD committed May 13, 2024
    Configuration menu
    Copy the full SHA
    034622e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f3b3a8c View commit details
    Browse the repository at this point in the history
  9. tidy up

    multiphaseCFD committed May 13, 2024
    Configuration menu
    Copy the full SHA
    dd3bafb View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    da26b18 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4befc63 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    d6dd285 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c824153 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8cdb82 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7105e3 View commit details
    Browse the repository at this point in the history
  5. ignore python::python

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    f112dd7 View commit details
    Browse the repository at this point in the history
  6. test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    88ee723 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2ec98bc View commit details
    Browse the repository at this point in the history
  8. quick test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    b06e829 View commit details
    Browse the repository at this point in the history
  9. tidy wheels yml

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    7743561 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    599d895 View commit details
    Browse the repository at this point in the history
  11. Remove obsolete commands in CI (post-release fixes) (#792)

    Please complete the following checklist when submitting a PR:
    
    - [x] 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`](../tests) directory!
    
    - [x] 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`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:**
    Compatibility stable workflows are failing after release v0.37.0.
    
    **Description of the Change:**
    Remove temporary steps from the CI, such as downgrading Scipy to <1.14
    and installing Kokkos v4.2 for `lightning-version == 'stable'`.
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    [sc-68100]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    cb3a3da View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6c696e5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    77f1749 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    70fde66 View commit details
    Browse the repository at this point in the history
  15. update cuda wheels

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    1d9e273 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    62c4f9c View commit details
    Browse the repository at this point in the history
  17. quick test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    7a2067c View commit details
    Browse the repository at this point in the history
  18. quick test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    8f3f0bb View commit details
    Browse the repository at this point in the history
  19. test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a386399 View commit details
    Browse the repository at this point in the history
  20. quick test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    3cb927e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    a610bed View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    40d3351 View commit details
    Browse the repository at this point in the history
  23. get path to python.so

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    51f4179 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    bfe3ecc View commit details
    Browse the repository at this point in the history
  25. test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    5106ec9 View commit details
    Browse the repository at this point in the history
  26. test

    multiphaseCFD committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    a58f90b View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. test python_lib_dirs

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e5fc98c View commit details
    Browse the repository at this point in the history
  2. test

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5a706ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13f85bc View commit details
    Browse the repository at this point in the history
  4. install python3-dev

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    699eb4a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20bc57e View commit details
    Browse the repository at this point in the history
  6. test

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    aec8936 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2e1760c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    25b3270 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6119428 View commit details
    Browse the repository at this point in the history
  10. update workflows

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f38c8f2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    83bc180 View commit details
    Browse the repository at this point in the history
  12. quick test

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    f6697ec View commit details
    Browse the repository at this point in the history
  13. test for win32

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    a9bfa0b View commit details
    Browse the repository at this point in the history
  14. fix for win32

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    535bcde View commit details
    Browse the repository at this point in the history
  15. update lgpu wheels

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    6e3f8f1 View commit details
    Browse the repository at this point in the history
  16. make format

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    92206c7 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    04c0980 View commit details
    Browse the repository at this point in the history
  18. update sharedlibloader

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ba47c05 View commit details
    Browse the repository at this point in the history
  19. quick test

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    24aec42 View commit details
    Browse the repository at this point in the history
  20. test

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b252335 View commit details
    Browse the repository at this point in the history
  21. add mutex

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    c78a948 View commit details
    Browse the repository at this point in the history
  22. set -x

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b6ddfce View commit details
    Browse the repository at this point in the history
  23. quick test

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5c4a2b7 View commit details
    Browse the repository at this point in the history
  24. windows-2022->latest

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    bd9b22e View commit details
    Browse the repository at this point in the history
  25. [[[[nodiscard]]]]

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    8b36022 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f353191 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    c94b27f View commit details
    Browse the repository at this point in the history
  28. update UtilLinearAlg

    multiphaseCFD committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    1c53e7f View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    d2b8dcc View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. install python-devel

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    cad0baf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0dda0f8 View commit details
    Browse the repository at this point in the history
  3. update cpp tests

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    a2aa536 View commit details
    Browse the repository at this point in the history
  4. pybind11 required

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    6559135 View commit details
    Browse the repository at this point in the history
  5. fix typo

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    f09c0d6 View commit details
    Browse the repository at this point in the history
  6. remove find_pybind11

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    819875e View commit details
    Browse the repository at this point in the history
  7. update pybind11 lookup

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d95cc0a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d882c50 View commit details
    Browse the repository at this point in the history
  9. test linux wheels

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    450c443 View commit details
    Browse the repository at this point in the history
  10. update

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3acee42 View commit details
    Browse the repository at this point in the history
  11. update

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    ec9342c View commit details
    Browse the repository at this point in the history
  12. check if python3

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    42499c6 View commit details
    Browse the repository at this point in the history
  13. wheels building x86_64

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    90d3fba View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9f0c457 View commit details
    Browse the repository at this point in the history
  15. debug

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    297cc0e View commit details
    Browse the repository at this point in the history
  16. debug

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d5eea85 View commit details
    Browse the repository at this point in the history
  17. quick fix

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    33c1e3b View commit details
    Browse the repository at this point in the history
  18. set PYTHON_LIBRARY env

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    278050e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b6402e5 View commit details
    Browse the repository at this point in the history
  20. add CMAKE_ARGS

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    e742535 View commit details
    Browse the repository at this point in the history
  21. test

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    d10d360 View commit details
    Browse the repository at this point in the history
  22. quick test

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    17a42b5 View commit details
    Browse the repository at this point in the history
  23. test

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    79490f8 View commit details
    Browse the repository at this point in the history
  24. fix typo

    multiphaseCFD committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    8c92d97 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    e3f2b54 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    e8ba245 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96182dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4df8dd5 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    236b563 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1112ee0 View commit details
    Browse the repository at this point in the history
  3. update wheels CIs

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    3826a1a View commit details
    Browse the repository at this point in the history
  4. update project.toml

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    dc4a328 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e051a1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    72c1e71 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    48da2c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b0ddeb2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1ad4583 View commit details
    Browse the repository at this point in the history
  10. update wheels CIs

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    e551ae5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    572e767 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d249f68 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1cc5f95 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cf80558 View commit details
    Browse the repository at this point in the history
  15. add headers

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    4e9ed1a View commit details
    Browse the repository at this point in the history
  16. C++ layer changes only

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    d95ea39 View commit details
    Browse the repository at this point in the history
  17. update linux wheel CI

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    ef90f6f View commit details
    Browse the repository at this point in the history
  18. make format

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    f89a55e View commit details
    Browse the repository at this point in the history
  19. fix python version

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    f0b5786 View commit details
    Browse the repository at this point in the history
  20. add toml

    multiphaseCFD committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    306fac8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    24a151a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1484874 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    d5d9cf1 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. revert changes in CIs

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    565bc5c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcb2e79 View commit details
    Browse the repository at this point in the history
  3. fix tidy complains

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    f60812e View commit details
    Browse the repository at this point in the history
  4. tidy up code

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    555b3f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b94888c View commit details
    Browse the repository at this point in the history
  6. windows fix try

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    0ce5ca8 View commit details
    Browse the repository at this point in the history
  7. windows tests

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    c24b010 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3546a52 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f1799f1 View commit details
    Browse the repository at this point in the history
  10. revert some changes

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    2294c63 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3342117 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a0fc6b6 View commit details
    Browse the repository at this point in the history
  13. update pyproject.toml

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    5097351 View commit details
    Browse the repository at this point in the history
  14. update mac path

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4e13727 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2299f6e View commit details
    Browse the repository at this point in the history
  16. quick fix

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    1853242 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b4c71c1 View commit details
    Browse the repository at this point in the history
  18. make format

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    b1b2d60 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6c50b77 View commit details
    Browse the repository at this point in the history
  20. update cmake files

    multiphaseCFD committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    74bebd3 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    352e7d1 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e532e6a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6cd71ed View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Configuration menu
    Copy the full SHA
    2355a0a View commit details
    Browse the repository at this point in the history
  2. tidy up code

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    7d47297 View commit details
    Browse the repository at this point in the history
  3. tidy up code

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    a599094 View commit details
    Browse the repository at this point in the history
  4. bug fix

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    05d9e4d View commit details
    Browse the repository at this point in the history
  5. quick test

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    a3bef4c View commit details
    Browse the repository at this point in the history
  6. link against lpython.so

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    c31a445 View commit details
    Browse the repository at this point in the history
  7. quick tests

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    fed8371 View commit details
    Browse the repository at this point in the history
  8. quick test

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    35c3bd4 View commit details
    Browse the repository at this point in the history
  9. quick fix

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    07626e5 View commit details
    Browse the repository at this point in the history
  10. fix typo

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    e434ede View commit details
    Browse the repository at this point in the history
  11. tix typo

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    252c0a1 View commit details
    Browse the repository at this point in the history
  12. make format

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    4b40406 View commit details
    Browse the repository at this point in the history
  13. quick fix

    multiphaseCFD committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    3044c13 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    f99ac4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49dc7a1 View commit details
    Browse the repository at this point in the history
  3. quick test

    multiphaseCFD committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    488d356 View commit details
    Browse the repository at this point in the history
  4. update

    multiphaseCFD committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    77a8b21 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    2c76370 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8270337 View commit details
    Browse the repository at this point in the history
  3. Update generate_samples in LK and LGPU to support qml.measurements.Sh…

    …ots (#839)
    
    **Context:**
    PR PennyLaneAI/pennylane#6046 wraps the legacy
    device API automatically in various device creation, qnode, and execute
    functions. As LK and LGPU plugins still rely on the legacy device API,
    the shots tests and the `generate_samples` logic in
    `lightning_kokkos.py` and `lightning_gpu.py` should be updated to adhere
    the new convention.
    
    **Related Shortcut Stories:**
    [sc-65998]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Shiro-Raven <[email protected]>
    Co-authored-by: albi3ro <[email protected]>
    4 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    2209a6b View commit details
    Browse the repository at this point in the history
  4. Add probs() support to lightning.tensor (#830)

    ### 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`](../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`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:**
    
    [SC-65784]
    
    This PR add `probs()` support to `lightning.tensor`. Additionally, this
    PR also found a temporal approach to allow users/developers to call
    `appendMPSFinalize` multiple time. This feature is essential for the
    `probs(obs)` as well as `shot measurement`.
    
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    Co-authored-by: Lee James O'Riordan <[email protected]>
    Co-authored-by: Josh Izaac <[email protected]>
    Co-authored-by: Lee J. O'Riordan <[email protected]>
    Co-authored-by: Pietropaolo Frisoni <[email protected]>
    Co-authored-by: erick-xanadu <[email protected]>
    Co-authored-by: Shiro-Raven <[email protected]>
    Co-authored-by: albi3ro <[email protected]>
    11 people committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    4c04474 View commit details
    Browse the repository at this point in the history
  5. Build and upload LGPU Linux aarch64 wheels (#815)

    ### 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`](../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 `aarch64` wheels recipes for `"lightning.gpu"`.
    
    **Description of the Change:**
    
    **Benefits:**
    Users can pip install LGPU on ARM boxes.
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    [sc-60048]
    [sc-60750]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    c73c477 View commit details
    Browse the repository at this point in the history
  6. Bugfix Dockerfile + new build system (#863)

    ### 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`](../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:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    9b2d9d3 View commit details
    Browse the repository at this point in the history
  7. Support the generalization of basis state preparation and the facade …

    …legacy device for MPI LGPU (#864)
    
    ### Before submitting
    
    Please complete the following checklist when submitting a PR:
    
    - [x] 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`](../tests) directory!
    
    - [x] 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`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:**
    
    - PR PennyLaneAI/pennylane#6021 removed code
    duplication for `BasisEmbedding` and `BasisState`. As the result
    `BasisState` no longer decomposes to `BasisStatePreparation`. This PR
    updates Python unit tests to support this generalization of basis state
    preparation.
    
    - PR PennyLaneAI/pennylane#6046 added a facade
    wrapper class for "legacy" devices. This PR is a follow up to PR #839
    updating Multi-GPU LGPU device and tests.
    
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    fdf9c71 View commit details
    Browse the repository at this point in the history
  8. Add stateprep support to lightning.tensor - MPS (#849)

    ### Before submitting
    
    Please complete the following checklist when submitting a PR:
    
    - [x] 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`](../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`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:**
    
    [SC-71278]
    
    Add `qml.StatePrep()` and `qml.QubitStateVector()` support to
    `lightning.tensor`. Note that `svd` decomposition is conduct by `numpy`
    in the python layer based on the fact that `svd` operation with `numpy`
    on cpu is faster than `cutensornet` on `A100` GPU if the `bond
    dimension` is less than `256`. For more info, please visit
    [here](https://developer.nvidia.com/cuquantum-sdk).
    
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    Co-authored-by: Lee James O'Riordan <[email protected]>
    Co-authored-by: Josh Izaac <[email protected]>
    Co-authored-by: Lee J. O'Riordan <[email protected]>
    Co-authored-by: Pietropaolo Frisoni <[email protected]>
    Co-authored-by: erick-xanadu <[email protected]>
    Co-authored-by: Astral Cai <[email protected]>
    Co-authored-by: Amintor Dusko <[email protected]>
    Co-authored-by: Shiro-Raven <[email protected]>
    Co-authored-by: albi3ro <[email protected]>
    13 people committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    1951544 View commit details
    Browse the repository at this point in the history
  9. Revert tests for multi-controlled-zyz (#821)

    ### 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`](../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`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:**
    PR PennyLaneAI/pennylane#6042 adds support for
    multi-controlled zyz.
    For Lightning, this means that custom decompositions to special zyz with
    multiple controlled wires will be supported.
     
    **Description of the Change:**
    - Add tests for adjoint jacobian of the controlled gate with multiple
    controlled_wires.
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    [sc-67711]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    9dff1f2 View commit details
    Browse the repository at this point in the history
  10. Add SetState and SetBasisState to kokkos (#861)

    **Context:** The kokkos simulator needs to override the default
    implementation for setting the state and basis state.
    
    **Description of the Change:** Override the default implementation for
    setting the state and basis state.
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Amintor Dusko <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    6 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    29fdd86 View commit details
    Browse the repository at this point in the history
  11. Update Pybind11 version for NP2.0 compatibility (#816)

    Please complete the following checklist when submitting a PR:
    
    - [x] 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`](../tests) directory!
    
    - [x] 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`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:** Pybind11's 2.12 release is the first version to officially
    support Numpy 2.0. This PR updates Lightning's pybind11 version to
    ensure compatibility to/from numpy arrays.
    
    **Description of the Change:** Updates Pybind11 version to the latest
    (2.13.5)
    
    **Benefits:** Ensures direct compatibility with numpy 2.x
    
    **Possible Drawbacks:** None.
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    caddb67 View commit details
    Browse the repository at this point in the history
  12. Disable CI for draft PRs (#847)

    **Context:**
    Tooling Team has requested that all CI checks for draft PRs across all
    PennyLane repos are to be disabled to free up GH runner resources. [SC
    Story](https://app.shortcut.com/xanaduai/story/66346/disable-ci-for-pl-draft-prs).
    
    **Description of the Change:**
    Conditions for checking whether a PR is in draft state have been added
    to existing workflows.
    
    **Benefits:**
    Reduces GH runner usage.
    
    **Possible Drawbacks:**
    Some development steps are deferred to PRs in "ready for review" state
    only.
    
    **Related GitHub Issues:**
    N/A
    
    ### Verification:
    Created this PR as draft, only lightweight CI checks use GitHub runners
    (formatting, changelog reminder). When marked as "ready for review" the
    CI checks ran (excluding wheel builds and multi-gpu runners). When
    labels added for wheel builds and multi-gpu runners all CI checks ran.
    
    ![Screenshot from 2024-08-12
    15-26-32](https://github.com/user-attachments/assets/e78c24f8-8f31-46a0-91f6-eb2d1802694b)
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Lee James O'Riordan <[email protected]>
    3 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    4a7e8f1 View commit details
    Browse the repository at this point in the history
  13. Downgrade pb (#867)

    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`](../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:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    a4f9e8d View commit details
    Browse the repository at this point in the history
  14. Add std:: to some usual suspects (#865)

    **Context:** We have several occurrences of missing std namespace.
    
    **Description of the Change:** Add std namespace to usual suspects.
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    [sc-71935]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Luis Alfredo Nuñez Meneses <[email protected]>
    4 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    08dfba8 View commit details
    Browse the repository at this point in the history
  15. Cron jobs for 0.38.0 release (#872)

    **Context:**
    Update compatibility cron jobs for v0.38.0 release.
     
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    867c3b7 View commit details
    Browse the repository at this point in the history
  16. Point to the right Lightning root folder independently from the invoc…

    …ation folder (#874)
    
    **Context:** `configure_pyproject_toml.py` assumes it is being invoked
    from the root directory of Lightning. But the reality is that it can be
    invoked from anywhere else.
    
    **Description of the Change:** Calculate safely the root folder by
    traversing back the folder structure starting from the current file
    location.
    
    **Benefits:** The file can be invoked from any place.
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    96894f4 View commit details
    Browse the repository at this point in the history
  17. Optimize gate cache recording for lightning.tensor (#879)

    ### 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`](../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`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:**
    
    [SC-72517]
    
    Current implementation of `applyOperation` avoid the overhead of a
    `cutensornetStateUpdateTensorOperator` call and the creation of a new
    `DataBuffer` object. A new `gate_ids_` private data is added for the
    quick generation of a new key, which does not exist in the `gate_cache`.
    
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Luis Alfredo Nuñez Meneses <[email protected]>
    3 people committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    8944eed View commit details
    Browse the repository at this point in the history
  18. Version Bump (#884)

    updated changelog and _version.py
    
    ---------
    
    Co-authored-by: vincentmr <[email protected]>
    Co-authored-by: Amintor Dusko <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Lee James O'Riordan <[email protected]>
    Co-authored-by: paul0403 <[email protected]>
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    Co-authored-by: Raul Torres <[email protected]>
    9 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    b37b483 View commit details
    Browse the repository at this point in the history
  19. Migration of LightningKokkos to the new device API (#810)

    ### Before submitting
    
    Please complete the following checklist when submitting a PR:
    
    - [X] 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`](../tests) directory!
    
    - [X] 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`.
    
    - [X] Ensure that the test suite passes, by running `make test`.
    
    - [X] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [X] 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:**
    Following the design of *Lightning Qubit* uses the New Device API end to
    end, we can now migrate `lightning.kokkos` device to the new device API.
    
    **Description of the Change:**
    Migration of Lightning Kokkos to integrate the New device API. The list
    of main features changes are
    - Add the `state_vector`, `measurements`, and `adjoint-jacobian` classes
    for `lightning.kokkos`
    - Add the `simulate`, `jacobian`, `simulate_and_jacobian`, `vjp`, and
    `simulate_and_vjp` `methods to lighting.kokkos`
    - Update unit/integration tests for the new device API to work with
    `lightning.kokkos`
    - Check the full support for sampling in full parity with Lightning
    Qubit
    - Replace the old device API for Lightning Kokkos.
    
    **Benefits:**
    Full integration of **Lightning kokkos** with the new device API. 
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    [sc-59207], [sc-68825]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Amintor Dusko <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    5 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    16bb3bc View commit details
    Browse the repository at this point in the history
  20. Update/actions (#887)

    **Context:** GitHub Actions need to be updated.
    
    **Description of the Change:** GH detected a
    [high-severity](GHSA-cxww-7g56-2vh6)
    vulnerability, with the download artifact action.
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    
    [sc-72698]
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    e03d1ac View commit details
    Browse the repository at this point in the history
  21. Correctly querying wire IDs for SetState and SetBasisState in L-K…

    …okkos (#878)
    
    **Context:**
    Catalyst recently fixed a bug where recycling a device when a previous
    execution involves stateprep causes a crash:
    PennyLaneAI/catalyst#1047
    
    The fix is made to `lightning.qubit`, and thus we need to fix it for
    `lightning.kokkos` here as well.
    
    
    **Description of the Change:**
    In `LightningKokkosSimulator`, `SetState` and `SetBasisState` now
    correctly query the DevQubits from the SimQubits in its qubit_manger's
    map.
    
    **Benefits:**
    We can now have multiple qnode functions involving stateprep in a
    workflow
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    PennyLaneAI/catalyst#1044
    
    ---------
    
    Co-authored-by: paul0403 <[email protected]>
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    4 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    ce1a320 View commit details
    Browse the repository at this point in the history
  22. Chunk Hamiltonian, PauliSentence, LinearCombination [sc-65680] (#873)

    Please complete the following checklist when submitting a PR:
    
    - [x] 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`](../tests) directory!
    
    - [x] 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`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change and including a link back to the PR.
    
    - [x] 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:**
    Parallelizing over observables can accelerate adjoint Jacobian
    calculations' backward pass. This PR revisits our implementation for
    L-Qubit and L-GPU which are the two devices that support it. Certain
    observables like Hamiltonian, PauliSentence, and LinearCombination can
    be split into many observables, enabling the distribution of the cost of
    expectation value computation. This strategy is initiated by the
    serializer which partitions the observables if `split_obs` is not
    `False`. The serializer proceeds to a complete partitioning, meaning a
    1000-PauliWord PauliSentence is partitioned into a 1000 PauliWords. We
    note in passing that L-Qubit does not split observables since it does
    not pass a `split_obs` value to `_process_jacobian_tape`. This is
    wasteful because we end up with either of two situations:
    
    - The Jacobian is computed N processes (threads, devices, etc.) at a
    time which results in a lot of duplicate computation (forward/backward
    passes are repeated and the results combined);
    - The Jacobian is parallelized over all observables, each of which
    requires a state vector copy which increases the memory requirements by
    as much.
    
    We explore chunking instead of full partitioning for
    LinearCombination-like objects, meaning a 1000-PauliWord PauliSentence
    is partitioned into four 250-PauliWords PauliSentences if we parallelize
    over 4 processes.
    
    **Description of the Change:**
    Modify the serializer to chunk LinearCombination-like objects if
    `self.split_obs` is truthy.
    Correctly route `_batch_obs` such that L-Qubit splits observables.
    Enhance/adapt tests.
    
    **Analysis:**
    **Lightning-Qubit**
    
    `applyObservable` is a bottleneck for somewhat large linear combinations
    (say 100s or 1000s of terms). Chunking isn't helpful for a circuit like
    ```
        @qml.qnode(dev, diff_method="adjoint")
        def c(weights):
            qml.templates.AllSinglesDoubles(weights, wires, hf_state, singles, doubles)
            return qml.expval(ham)
    ```
    because L-Qubit's `applyObservable` method is parallelized over terms
    for a single `Hamiltonian` observable. Chunking in this case is
    counter-productive because it requires extra state vectors, extra
    backward passes, etc.
    
    For a circuit like however
    ```
        @qml.qnode(dev, diff_method="adjoint")
        def c(weights):
            qml.templates.AllSinglesDoubles(weights, wires, hf_state, singles, doubles)
            return np.array([qml.expval(ham), qml.expval(qml.PauliZ(0))])
    ```
    `applyObservable` is parallelized over observables, which only scales up
    to 2 threads, and with poor load-balance. In this case, it is better to
    split the observable, which is what the current changes do.
    
    | mol | master-serial | master-batched | chunk-serial | chunk-batched |
    | --- | ------------- | -------------- | ------------ | ------------- |
    | CH4 | 1.793e+01     | 1.330e+01      | 1.819e+01    | 8.040e+00     |
    | Li2 | 5.333e+01     | 3.354e+01      | 5.289e+01    | 1.839e+01     |
    | CO  | 9.817e+01     | 5.945e+01      | 9.619e+01    | 2.559e+01     |
    | H10 | 1.220e+02     | 7.317e+01      | 1.182e+02    | 3.305e+01     |
    
    So for this circuit the current PR yields speeds-up ranging from 1.5x to
    >2x by using obs-batching + chunking (compared with the previous
    obs-batching).
    
    **Lightning-GPU**
    
    Lightning-GPU splits the observables as soon as `batch_obs` is true. The
    current code splits a Hamiltonian into all its individual terms, which
    is quite inefficient and induces a lot of redundant backward passes.
    This is visible benchmarking the circuit
    ```
        @qml.qnode(dev, diff_method="adjoint")
        def c(weights):
            qml.templates.AllSinglesDoubles(weights, wires, hf_state, singles, doubles)
            return qml.expval(ham)
    ```
    
    | mol | master-serial | master-batched | chunk-serial | chunk-batched |
    | --- | ------------- | -------------- | ------------ | ------------- |
    | CH4 | 1.463e+01     | forever        | 5.583e+00    | 3.405e+00     |
    | Li2 | 1.201e+01     | forever        | 5.284e+00    | 2.658e+00     |
    | CO  | 2.357e+01     | forever        | 4.716e+00    | 4.577e+00     |
    | H10 | 2.992e+01     | forever        | 5.476e+00    | 5.469e+00     |
    | HCN | 8.622e+01     | forever        | 3.144e+01    | 2.452e+01     |
    
    The batched L-GPU runs are using 2 x A100 GPUs on ISAIC. The speed-ups
    for batched versus serial are OK, but most important is the optimization
    of `Hamiltonian::applyInPlace` which brings about nice speed-ups between
    master and this PR.
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Amintor Dusko <[email protected]>
    Co-authored-by: AmintorDusko <[email protected]>
    4 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    e626ac9 View commit details
    Browse the repository at this point in the history
  23. Fix the artifact name in LGPU and remove old installation commands in…

    … stable installation of LQ & LK (#890)
    
    ### 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`](../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:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Amintor Dusko <[email protected]>
    3 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    2d6de41 View commit details
    Browse the repository at this point in the history
  24. Add controlled gate support to lightning.tensor (#880)

    ### 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`](../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`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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 controlled gate support to `lightning.tensor`. This could improve
    the performance of `lightning.tensor` by avoiding full gate matrix build
    for controlled gates. However, as of v24.08, cutensornet only supports
    controlled gates with only 1 wire target. [SC-72522]
    
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    Co-authored-by: Vincent Michaud-Rioux <[email protected]>
    Co-authored-by: Ali Asadi <[email protected]>
    4 people committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    1e1b273 View commit details
    Browse the repository at this point in the history
  25. Update Version (#898)

    ### 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`](../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:**
    maliasadi authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    1e0a41b View commit details
    Browse the repository at this point in the history
  26. Update Py3.9 to 3.10 minimum (#891)

    ### Before submitting
    
    Please complete the following checklist when submitting a PR:
    
    - [x] 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`](../tests) directory!
    
    - [x] 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`.
    
    - [x] Ensure that the test suite passes, by running `make test`.
    
    - [x] Add a new entry to the `.github/CHANGELOG.md` file, summarizing
    the
          change, and including a link back to the PR.
    
    - [x] 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:** This PR removes support for Python 3.9 and migrates to 3.10
    as the oldest supported version.
    
    **Description of the Change:**
    
    **Benefits:**
    
    **Possible Drawbacks:**
    
    **Related GitHub Issues:**
    
    ---------
    
    Co-authored-by: ringo-but-quantum <[email protected]>
    2 people authored and multiphaseCFD committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    4539036 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    a387ad8 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    66d0a01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6126447 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6b5367 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e9c300f View commit details
    Browse the repository at this point in the history
  5. remove ppc ci

    multiphaseCFD committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    9e3a48d View commit details
    Browse the repository at this point in the history
  6. tidy up code

    multiphaseCFD committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    6239ffe View commit details
    Browse the repository at this point in the history
  7. tidy up code

    multiphaseCFD committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    87d898d View commit details
    Browse the repository at this point in the history