Skip to content

Commit

Permalink
typo fixed in first_sample.py (NVIDIA#2091)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Schweitz <[email protected]>
  • Loading branch information
mmvandieren and schweitzpgi authored Aug 21, 2024
1 parent 33e5f25 commit 3baa9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinx/snippets/python/using/first_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def kernel(qubit_count: int):
#[Begin Sample3]
most_probable_result = results.most_probable()
probability = results.probability(most_probable_result)
print("Most probably result: " + most_probable_result)
print("Most probable result: " + most_probable_result)
print("Measured with probability " + str(probability), end='\n\n')
#[End Sample3]

Expand Down

0 comments on commit 3baa9a1

Please sign in to comment.