PennyLaneAI / pennylane

PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
https://pennylane.ai
Apache License 2.0
2.36k stars 604 forks source link

Remove `hamiltonian_expand` and `sum_expand` #6204

Closed albi3ro closed 2 months ago

albi3ro commented 2 months ago

[sc-72708]

Completes the deprecation cycle for hamiltonian_expand and sum_expand. split_non_commuting should be used instead for both cases.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.65%. Comparing base (ec0b9f1) to head (1c23169). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6204 +/- ## ========================================== - Coverage 99.65% 99.65% -0.01% ========================================== Files 447 446 -1 Lines 42713 42241 -472 ========================================== - Hits 42567 42094 -473 - Misses 146 147 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.