TransWikia.com

What is the significance of varying the number of shots while running a circuit in a quantum machine and qasm simulator?

Quantum Computing Asked on August 11, 2021

what is the significance of varying the number of shots while running a circuit in a quantum machine and qasm simulator?

Does more number of shots give better/accurate result?
I am running a simple 2 qubit measurement circuit after Hadamard gates on both qubits.

One Answer

When you perform one shot, the measurement at the end of the computation gives you one of the possible results. More shots produce a distribution.

In your simple example, you should get a uniform distribution over 00, 01, 10 and 11. You should notice that, with more shots, the distribution you get is more similar to the uniform one.

Answered by Michele Amoretti on August 11, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP