Skip to content

Commit

Permalink
Update src/braket/pennylane_plugin/translation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Abe Coull <[email protected]>
  • Loading branch information
speller26 and AbeCoull authored Sep 6, 2024
1 parent 3324dee commit 15012c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/braket/pennylane_plugin/translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,6 @@ def translate_result_type( # noqa: C901
return_type = measurement.return_type
targets = targets or measurement.wires.tolist()
observable = measurement.obs
print(observable)

if return_type is ObservableReturnTypes.Probability:
return Probability(targets)
Expand Down

0 comments on commit 15012c2

Please sign in to comment.