-
Notifications
You must be signed in to change notification settings - Fork 67
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
ValueError: sum(pvals[:-1]) > 1.0
in pulser_emulator
#822
Comments
@pasqal-io/emulation-team This might be a good first issue :) |
Versions used:
|
I could reproduce the issue. For me it's a floating point error accumulation in the normalization of the weights done in
The check in I think I offer to write custom multinomial sampling code for The algo:
Any opinion @HGSilveri ? |
No objections @pablolh , all I ask is a small benchmark once you're done, to see how it stacks up :) |
Just encountered the following stack when running qutipemulator on a simulation with 20 qubits.
I got this result from the following notebook, https://github.com/pasqal-io/quantum-evolution-kernel/blob/afa74d99ac5b05a1e91b0ad90491115544c6b09c/examples/tutorial%201%20-%20Using%20a%20Quantum%20Device%20to%20Extract%20Machine-Learning%20Features.ipynb (you'll need to
pip install quantum-evolution-kernel
first), by replacingMAX_QUBITS
with 50 for the sake of an experiment.The text was updated successfully, but these errors were encountered: