-
Notifications
You must be signed in to change notification settings - Fork 36
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
base: master
Are you sure you want to change the base?
Commits on Apr 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f18a66e - Browse repository at this point
Copy the full SHA f18a66eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3b9a22 - Browse repository at this point
Copy the full SHA e3b9a22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b6e649 - Browse repository at this point
Copy the full SHA 9b6e649View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d2cb3 - Browse repository at this point
Copy the full SHA 11d2cb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 141f4db - Browse repository at this point
Copy the full SHA 141f4dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e91975e - Browse repository at this point
Copy the full SHA e91975eView commit details
Commits on Apr 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c813e21 - Browse repository at this point
Copy the full SHA c813e21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 951e231 - Browse repository at this point
Copy the full SHA 951e231View commit details -
Configuration menu - View commit details
-
Copy full SHA for def8a26 - Browse repository at this point
Copy the full SHA def8a26View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e7815ae - Browse repository at this point
Copy the full SHA e7815aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9872e45 - Browse repository at this point
Copy the full SHA 9872e45View commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 25bea68 - Browse repository at this point
Copy the full SHA 25bea68View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2ac6a0 - Browse repository at this point
Copy the full SHA f2ac6a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26983ca - Browse repository at this point
Copy the full SHA 26983caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd0af4 - Browse repository at this point
Copy the full SHA 6fd0af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24dd8d0 - Browse repository at this point
Copy the full SHA 24dd8d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad1e6d - Browse repository at this point
Copy the full SHA 1ad1e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b91a358 - Browse repository at this point
Copy the full SHA b91a358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7863c2a - Browse repository at this point
Copy the full SHA 7863c2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 186e423 - Browse repository at this point
Copy the full SHA 186e423View commit details
Commits on May 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a54aea7 - Browse repository at this point
Copy the full SHA a54aea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5507f89 - Browse repository at this point
Copy the full SHA 5507f89View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 20019d8 - Browse repository at this point
Copy the full SHA 20019d8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 972ba59 - Browse repository at this point
Copy the full SHA 972ba59View commit details -
Configuration menu - View commit details
-
Copy full SHA for b314eca - Browse repository at this point
Copy the full SHA b314ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20ffe39 - Browse repository at this point
Copy the full SHA 20ffe39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 034622e - Browse repository at this point
Copy the full SHA 034622eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b3a8c - Browse repository at this point
Copy the full SHA f3b3a8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd3bafb - Browse repository at this point
Copy the full SHA dd3bafbView commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for da26b18 - Browse repository at this point
Copy the full SHA da26b18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4befc63 - Browse repository at this point
Copy the full SHA 4befc63View commit details
Commits on Jul 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6dd285 - Browse repository at this point
Copy the full SHA d6dd285View commit details -
Configuration menu - View commit details
-
Copy full SHA for c824153 - Browse repository at this point
Copy the full SHA c824153View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8cdb82 - Browse repository at this point
Copy the full SHA a8cdb82View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7105e3 - Browse repository at this point
Copy the full SHA d7105e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f112dd7 - Browse repository at this point
Copy the full SHA f112dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ee723 - Browse repository at this point
Copy the full SHA 88ee723View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ec98bc - Browse repository at this point
Copy the full SHA 2ec98bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b06e829 - Browse repository at this point
Copy the full SHA b06e829View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7743561 - Browse repository at this point
Copy the full SHA 7743561View commit details -
Configuration menu - View commit details
-
Copy full SHA for 599d895 - Browse repository at this point
Copy the full SHA 599d895View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for cb3a3da - Browse repository at this point
Copy the full SHA cb3a3daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c696e5 - Browse repository at this point
Copy the full SHA 6c696e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77f1749 - Browse repository at this point
Copy the full SHA 77f1749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70fde66 - Browse repository at this point
Copy the full SHA 70fde66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d9e273 - Browse repository at this point
Copy the full SHA 1d9e273View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62c4f9c - Browse repository at this point
Copy the full SHA 62c4f9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a2067c - Browse repository at this point
Copy the full SHA 7a2067cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f3f0bb - Browse repository at this point
Copy the full SHA 8f3f0bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a386399 - Browse repository at this point
Copy the full SHA a386399View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cb927e - Browse repository at this point
Copy the full SHA 3cb927eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a610bed - Browse repository at this point
Copy the full SHA a610bedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40d3351 - Browse repository at this point
Copy the full SHA 40d3351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51f4179 - Browse repository at this point
Copy the full SHA 51f4179View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe3ecc - Browse repository at this point
Copy the full SHA bfe3eccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5106ec9 - Browse repository at this point
Copy the full SHA 5106ec9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a58f90b - Browse repository at this point
Copy the full SHA a58f90bView commit details
Commits on Jul 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e5fc98c - Browse repository at this point
Copy the full SHA e5fc98cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a706ef - Browse repository at this point
Copy the full SHA 5a706efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f85bc - Browse repository at this point
Copy the full SHA 13f85bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 699eb4a - Browse repository at this point
Copy the full SHA 699eb4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 20bc57e - Browse repository at this point
Copy the full SHA 20bc57eView commit details -
Configuration menu - View commit details
-
Copy full SHA for aec8936 - Browse repository at this point
Copy the full SHA aec8936View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e1760c - Browse repository at this point
Copy the full SHA 2e1760cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b3270 - Browse repository at this point
Copy the full SHA 25b3270View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6119428 - Browse repository at this point
Copy the full SHA 6119428View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38c8f2 - Browse repository at this point
Copy the full SHA f38c8f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83bc180 - Browse repository at this point
Copy the full SHA 83bc180View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6697ec - Browse repository at this point
Copy the full SHA f6697ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9bfa0b - Browse repository at this point
Copy the full SHA a9bfa0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 535bcde - Browse repository at this point
Copy the full SHA 535bcdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e3f8f1 - Browse repository at this point
Copy the full SHA 6e3f8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92206c7 - Browse repository at this point
Copy the full SHA 92206c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04c0980 - Browse repository at this point
Copy the full SHA 04c0980View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba47c05 - Browse repository at this point
Copy the full SHA ba47c05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24aec42 - Browse repository at this point
Copy the full SHA 24aec42View commit details -
Configuration menu - View commit details
-
Copy full SHA for b252335 - Browse repository at this point
Copy the full SHA b252335View commit details -
Configuration menu - View commit details
-
Copy full SHA for c78a948 - Browse repository at this point
Copy the full SHA c78a948View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6ddfce - Browse repository at this point
Copy the full SHA b6ddfceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c4a2b7 - Browse repository at this point
Copy the full SHA 5c4a2b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd9b22e - Browse repository at this point
Copy the full SHA bd9b22eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b36022 - Browse repository at this point
Copy the full SHA 8b36022View commit details -
Configuration menu - View commit details
-
Copy full SHA for f353191 - Browse repository at this point
Copy the full SHA f353191View commit details -
Configuration menu - View commit details
-
Copy full SHA for c94b27f - Browse repository at this point
Copy the full SHA c94b27fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c53e7f - Browse repository at this point
Copy the full SHA 1c53e7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d2b8dcc - Browse repository at this point
Copy the full SHA d2b8dccView commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cad0baf - Browse repository at this point
Copy the full SHA cad0bafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dda0f8 - Browse repository at this point
Copy the full SHA 0dda0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2aa536 - Browse repository at this point
Copy the full SHA a2aa536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6559135 - Browse repository at this point
Copy the full SHA 6559135View commit details -
Configuration menu - View commit details
-
Copy full SHA for f09c0d6 - Browse repository at this point
Copy the full SHA f09c0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 819875e - Browse repository at this point
Copy the full SHA 819875eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d95cc0a - Browse repository at this point
Copy the full SHA d95cc0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d882c50 - Browse repository at this point
Copy the full SHA d882c50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 450c443 - Browse repository at this point
Copy the full SHA 450c443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3acee42 - Browse repository at this point
Copy the full SHA 3acee42View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec9342c - Browse repository at this point
Copy the full SHA ec9342cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42499c6 - Browse repository at this point
Copy the full SHA 42499c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d3fba - Browse repository at this point
Copy the full SHA 90d3fbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f0c457 - Browse repository at this point
Copy the full SHA 9f0c457View commit details -
Configuration menu - View commit details
-
Copy full SHA for 297cc0e - Browse repository at this point
Copy the full SHA 297cc0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5eea85 - Browse repository at this point
Copy the full SHA d5eea85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33c1e3b - Browse repository at this point
Copy the full SHA 33c1e3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 278050e - Browse repository at this point
Copy the full SHA 278050eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6402e5 - Browse repository at this point
Copy the full SHA b6402e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e742535 - Browse repository at this point
Copy the full SHA e742535View commit details -
Configuration menu - View commit details
-
Copy full SHA for d10d360 - Browse repository at this point
Copy the full SHA d10d360View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17a42b5 - Browse repository at this point
Copy the full SHA 17a42b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79490f8 - Browse repository at this point
Copy the full SHA 79490f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c92d97 - Browse repository at this point
Copy the full SHA 8c92d97View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f2b54 - Browse repository at this point
Copy the full SHA e3f2b54View commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e8ba245 - Browse repository at this point
Copy the full SHA e8ba245View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96182dc - Browse repository at this point
Copy the full SHA 96182dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4df8dd5 - Browse repository at this point
Copy the full SHA 4df8dd5View commit details
Commits on Aug 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 236b563 - Browse repository at this point
Copy the full SHA 236b563View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1112ee0 - Browse repository at this point
Copy the full SHA 1112ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3826a1a - Browse repository at this point
Copy the full SHA 3826a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc4a328 - Browse repository at this point
Copy the full SHA dc4a328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e051a1 - Browse repository at this point
Copy the full SHA 1e051a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72c1e71 - Browse repository at this point
Copy the full SHA 72c1e71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48da2c2 - Browse repository at this point
Copy the full SHA 48da2c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0ddeb2 - Browse repository at this point
Copy the full SHA b0ddeb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ad4583 - Browse repository at this point
Copy the full SHA 1ad4583View commit details -
Configuration menu - View commit details
-
Copy full SHA for e551ae5 - Browse repository at this point
Copy the full SHA e551ae5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 572e767 - Browse repository at this point
Copy the full SHA 572e767View commit details -
Configuration menu - View commit details
-
Copy full SHA for d249f68 - Browse repository at this point
Copy the full SHA d249f68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cc5f95 - Browse repository at this point
Copy the full SHA 1cc5f95View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf80558 - Browse repository at this point
Copy the full SHA cf80558View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e9ed1a - Browse repository at this point
Copy the full SHA 4e9ed1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d95ea39 - Browse repository at this point
Copy the full SHA d95ea39View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef90f6f - Browse repository at this point
Copy the full SHA ef90f6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f89a55e - Browse repository at this point
Copy the full SHA f89a55eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b5786 - Browse repository at this point
Copy the full SHA f0b5786View commit details -
Configuration menu - View commit details
-
Copy full SHA for 306fac8 - Browse repository at this point
Copy the full SHA 306fac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24a151a - Browse repository at this point
Copy the full SHA 24a151aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1484874 - Browse repository at this point
Copy the full SHA 1484874View commit details -
Configuration menu - View commit details
-
Copy full SHA for d5d9cf1 - Browse repository at this point
Copy the full SHA d5d9cf1View commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 565bc5c - Browse repository at this point
Copy the full SHA 565bc5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb2e79 - Browse repository at this point
Copy the full SHA dcb2e79View commit details -
Configuration menu - View commit details
-
Copy full SHA for f60812e - Browse repository at this point
Copy the full SHA f60812eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 555b3f2 - Browse repository at this point
Copy the full SHA 555b3f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b94888c - Browse repository at this point
Copy the full SHA b94888cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ce5ca8 - Browse repository at this point
Copy the full SHA 0ce5ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c24b010 - Browse repository at this point
Copy the full SHA c24b010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3546a52 - Browse repository at this point
Copy the full SHA 3546a52View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1799f1 - Browse repository at this point
Copy the full SHA f1799f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2294c63 - Browse repository at this point
Copy the full SHA 2294c63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3342117 - Browse repository at this point
Copy the full SHA 3342117View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0fc6b6 - Browse repository at this point
Copy the full SHA a0fc6b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5097351 - Browse repository at this point
Copy the full SHA 5097351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e13727 - Browse repository at this point
Copy the full SHA 4e13727View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2299f6e - Browse repository at this point
Copy the full SHA 2299f6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1853242 - Browse repository at this point
Copy the full SHA 1853242View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4c71c1 - Browse repository at this point
Copy the full SHA b4c71c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b2d60 - Browse repository at this point
Copy the full SHA b1b2d60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c50b77 - Browse repository at this point
Copy the full SHA 6c50b77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74bebd3 - Browse repository at this point
Copy the full SHA 74bebd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 352e7d1 - Browse repository at this point
Copy the full SHA 352e7d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e532e6a - Browse repository at this point
Copy the full SHA e532e6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd71ed - Browse repository at this point
Copy the full SHA 6cd71edView commit details
Commits on Aug 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2355a0a - Browse repository at this point
Copy the full SHA 2355a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d47297 - Browse repository at this point
Copy the full SHA 7d47297View commit details -
Configuration menu - View commit details
-
Copy full SHA for a599094 - Browse repository at this point
Copy the full SHA a599094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d9e4d - Browse repository at this point
Copy the full SHA 05d9e4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3bef4c - Browse repository at this point
Copy the full SHA a3bef4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c31a445 - Browse repository at this point
Copy the full SHA c31a445View commit details -
Configuration menu - View commit details
-
Copy full SHA for fed8371 - Browse repository at this point
Copy the full SHA fed8371View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35c3bd4 - Browse repository at this point
Copy the full SHA 35c3bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07626e5 - Browse repository at this point
Copy the full SHA 07626e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e434ede - Browse repository at this point
Copy the full SHA e434edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 252c0a1 - Browse repository at this point
Copy the full SHA 252c0a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b40406 - Browse repository at this point
Copy the full SHA 4b40406View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3044c13 - Browse repository at this point
Copy the full SHA 3044c13View commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f99ac4a - Browse repository at this point
Copy the full SHA f99ac4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49dc7a1 - Browse repository at this point
Copy the full SHA 49dc7a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 488d356 - Browse repository at this point
Copy the full SHA 488d356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a8b21 - Browse repository at this point
Copy the full SHA 77a8b21View commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2c76370 - Browse repository at this point
Copy the full SHA 2c76370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8270337 - Browse repository at this point
Copy the full SHA 8270337View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2209a6b - Browse repository at this point
Copy the full SHA 2209a6bView commit details -
Add
probs()
support tolightning.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]>
Configuration menu - View commit details
-
Copy full SHA for 4c04474 - Browse repository at this point
Copy the full SHA 4c04474View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for c73c477 - Browse repository at this point
Copy the full SHA c73c477View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9b2d9d3 - Browse repository at this point
Copy the full SHA 9b2d9d3View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for fdf9c71 - Browse repository at this point
Copy the full SHA fdf9c71View commit details -
Add
stateprep
support tolightning.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]>
Configuration menu - View commit details
-
Copy full SHA for 1951544 - Browse repository at this point
Copy the full SHA 1951544View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 9dff1f2 - Browse repository at this point
Copy the full SHA 9dff1f2View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 29fdd86 - Browse repository at this point
Copy the full SHA 29fdd86View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for caddb67 - Browse repository at this point
Copy the full SHA caddb67View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4a7e8f1 - Browse repository at this point
Copy the full SHA 4a7e8f1View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for a4f9e8d - Browse repository at this point
Copy the full SHA a4f9e8dView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 08dfba8 - Browse repository at this point
Copy the full SHA 08dfba8View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 867c3b7 - Browse repository at this point
Copy the full SHA 867c3b7View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 96894f4 - Browse repository at this point
Copy the full SHA 96894f4View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 8944eed - Browse repository at this point
Copy the full SHA 8944eedView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b37b483 - Browse repository at this point
Copy the full SHA b37b483View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 16bb3bc - Browse repository at this point
Copy the full SHA 16bb3bcView commit details -
**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]>
Configuration menu - View commit details
-
Copy full SHA for e03d1ac - Browse repository at this point
Copy the full SHA e03d1acView commit details -
Correctly querying wire IDs for
SetState
andSetBasisState
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]>
Configuration menu - View commit details
-
Copy full SHA for ce1a320 - Browse repository at this point
Copy the full SHA ce1a320View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for e626ac9 - Browse repository at this point
Copy the full SHA e626ac9View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 2d6de41 - Browse repository at this point
Copy the full SHA 2d6de41View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1e1b273 - Browse repository at this point
Copy the full SHA 1e1b273View commit details -
### 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:**
Configuration menu - View commit details
-
Copy full SHA for 1e0a41b - Browse repository at this point
Copy the full SHA 1e0a41bView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 4539036 - Browse repository at this point
Copy the full SHA 4539036View commit details -
Configuration menu - View commit details
-
Copy full SHA for a387ad8 - Browse repository at this point
Copy the full SHA a387ad8View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 66d0a01 - Browse repository at this point
Copy the full SHA 66d0a01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6126447 - Browse repository at this point
Copy the full SHA 6126447View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6b5367 - Browse repository at this point
Copy the full SHA b6b5367View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c300f - Browse repository at this point
Copy the full SHA e9c300fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e3a48d - Browse repository at this point
Copy the full SHA 9e3a48dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6239ffe - Browse repository at this point
Copy the full SHA 6239ffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87d898d - Browse repository at this point
Copy the full SHA 87d898dView commit details