Skip to content

Commit

Permalink
update changelog and apply format
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisAlfredoNu committed Oct 1, 2024
1 parent 45907fa commit a72cba8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
* Lightning-Kokkos migrated to the new device API.
[(#810)](https://github.com/PennyLaneAI/pennylane-lightning/pull/810)

* Lightning-GPU migrated to the new device API.
[(#853)](https://github.com/PennyLaneAI/pennylane-lightning/pull/853)

### Breaking changes

* Update MacOS wheel builds to require Monterey (12.0) or greater for x86_64 and ARM.
Expand Down
4 changes: 1 addition & 3 deletions pennylane_lightning/lightning_gpu/lightning_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,4 @@ def simulate(

state.reset_state()
final_state = state.get_final_state(circuit)
return self.LightningMeasurements(
final_state
).measure_final_state(circuit)
return self.LightningMeasurements(final_state).measure_final_state(circuit)

Check warning on line 512 in pennylane_lightning/lightning_gpu/lightning_gpu.py

View check run for this annotation

Codecov / codecov/patch

pennylane_lightning/lightning_gpu/lightning_gpu.py#L510-L512

Added lines #L510 - L512 were not covered by tests

0 comments on commit a72cba8

Please sign in to comment.