AWS braket documentation change
Summary
Updated code comments (capitalization fixes) in quantum computing example scripts
Security assessment
Minor grammatical corrections in code comments. No security implications or references to security features.
Diff
diff --git a/braket/latest/developerguide/braket-get-started-hello-ahs.md b/braket/latest/developerguide/braket-get-started-hello-ahs.md index 824394906..4b4b9f2ee 100644 --- a//braket/latest/developerguide/braket-get-started-hello-ahs.md +++ b//braket/latest/developerguide/braket-get-started-hello-ahs.md @@ -50 +50 @@ We will use one neutral atom to stand for each spin, and the “up” and “dow - import matplotlib.pyplot as plt # required for plotting + import matplotlib.pyplot as plt # Required for plotting @@ -54 +54 @@ We will use one neutral atom to stand for each spin, and the “up” and “dow - a = 5.7e-6 # nearest-neighbor separation (in meters) + a = 5.7e-6 # Nearest-neighbor separation (in meters) @@ -74 +74 @@ which we can also plot with - plt.show() # this will show the plot below in an ipython or jupyter session + plt.show() # This will show the plot below in an ipython or jupyter session @@ -100 +100 @@ To program a smooth transition from the ferromagnetic phase to the anti-ferromag - # smooth transition from "down" to "up" state + # Smooth transition from "down" to "up" state @@ -152 +152 @@ We can visualize the time series of the driving field with the following script. - plt.show() # this will show the plot below in an ipython or jupyter session + plt.show() # This will show the plot below in an ipython or jupyter session @@ -181 +181 @@ Here, we can set the number of shots to a high value (say, 1 million) because th - ).result() # takes about 5 seconds + ).result() # Takes about 5 seconds @@ -216 +216 @@ We can aggregate the shot results with the following function that infers the st - counts_simulator = get_counts(result_simulator) # takes about 5 seconds + counts_simulator = get_counts(result_simulator) # Takes about 5 seconds