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

plot_histogram(result.get_counts(circuit)) not showing probability #126

Open
nmathew96 opened this issue Nov 15, 2022 · 1 comment
Open

Comments

@nmathew96
Copy link

plot_histogram(result.get_counts(circuit))
as per the representation the result of writing above code should give the graph in probability but, I am getting values in counts.

@anujang
Copy link

anujang commented Nov 26, 2022

looking at documentation, looks like the histogram would plot counts? https://qiskit.org/documentation/stubs/qiskit.visualization.plot_histogram.html
i think it was probability in older docs - https://qiskit.org/documentation/stable/0.19/stubs/qiskit.visualization.plot_histogram.html

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

2 participants