Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to sample a Bell state more than exactly 10,000 times #1669

Open
nonhermitian opened this issue May 10, 2024 · 0 comments
Open

Unable to sample a Bell state more than exactly 10,000 times #1669

nonhermitian opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nonhermitian
Copy link
Contributor

Describe the bug
Sampling a Bell state on an Eagle system works for 10,000 shots, but fails for anything higher, e.g. 10,001

Steps to reproduce

qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0,1)
qc.measure_all()

trans_qc = transpile(qc, backend)

sampler = SamplerV2(backend)
sampler.run([trans_qc], shots=10001)

Expected behavior
I should be able to sample up to the maximum allowed (100k) and it works

Suggested solutions
NA

Additional Information

  • qiskit-ibm-runtime version: latest
  • Python version:
  • Operating system:
@nonhermitian nonhermitian added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant