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

not getting fidelity for amplitude-estimation/cirq/ae_benchmark.py and monte-carlo/cirq/mc_benchmark.py #493

Open
GIRISHBELANI opened this issue Jun 7, 2024 · 0 comments

Comments

@GIRISHBELANI
Copy link
Contributor

after executing the benchmark files ae_benchmark.py and mc_benchmark.py for cirq, the fidelity values are getting equals to 0.

Suggestion: add below line after calculation of correct_dist

#convert the keys of the correct_dist dictionary into strings
correct_dist = {str(key): value for key, value in correct_dist.items()}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant