Open maolinml opened 4 months ago
I'm actually surprised that the sampler accepts 0 shots, and returns probabilities as the counts. In any case, the Braket provider doesn't have a native sampler, but just a classic Qiskit backend, which is a different interface. However, it might be worth considering writing native primitives in this package.
I don't think we need a native sampler to resolve the discrepancy shown above. We can simply set the default shot to zero for "BraketLocalBackend().run(...)" and use the state vector simulator, right?
What is the expected enhancement?
The default shot number for qiskit’s Sampler is 0, whereas that for BraketLocalBackend is 1000, see the code example below. This could cause some confusion. Ideally, the default shot values should be the same.