Summary
In this chapter, we showed the basics of writing code in Amazon Braket by creating a simple quantum circuit, executing it on an Amazon Braket device, and displaying the probabilistic results.
We started by using the Amazon Braket functions to find the appropriate device and then got cost estimates for using that device based on the number of shots. Then, we created a simple circuit to display a binary number on a quantum register using the LocalSimulator()
function. Finally, we ran that circuit on the SV1 simulator and got an accurate value for the cost of execution.