Choose the best response for each question. Then select "Check your answers."
Which of these statements is true about the random number generator that you built in this module?
You always get truly random numbers, both in the simulator and on quantum hardware.
You never get truly random numbers. You get only pseudorandom numbers.
In the simulator, you get pseudorandom numbers. On a quantum computer, you get truly random numbers.
You need to run a quantum computation multiple times and then compute the average of all results. The easiest way to do that is to:
Run the quantum program multiple times and then route the results to a second program, which computes the average.
Combine classical and quantum operations in the same program.
Write the quantum computation as well as the averaging computation all as quantum operations.
You're ready to run your algorithm on Azure Quantum. What's the best way to choose which hardware runs your code most efficiently?
Run a more limited version of your program on each hardware type and then choose the one that completes most quickly.
Combine the simulator with the resource estimator to understand the resources that your code would require.
There isn't a need to choose. All quantum hardware utilizes resources in the exact same way.
You must answer all questions before checking your work.
Need help? See our troubleshooting guide or provide specific feedback by reporting an issue.