Skip to content

Commit

Permalink
Removed old return
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit2812 committed Aug 30, 2023
1 parent 7744b34 commit 4580fac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pennylane_honeywell/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,7 @@ def execute(self, tape, **kwargs):
self._samples = self.generate_samples()

# compute the required statistics
if not qml.active_return():
results = self._statistics_legacy(tape)
else:
results = self.statistics(tape)
results = self.statistics(tape)

# Ensures that a combination with sample does not put
# expvals and vars in superfluous arrays
Expand Down

0 comments on commit 4580fac

Please sign in to comment.