Skip to content

Instantly share code, notes, and snippets.

@frankzickert
Created June 23, 2022 12:31
Show Gist options
  • Save frankzickert/4eb97ec2722498218f622cac3753eac2 to your computer and use it in GitHub Desktop.
Save frankzickert/4eb97ec2722498218f622cac3753eac2 to your computer and use it in GitHub Desktop.
from qiskit import Aer, execute
from qiskit.visualization import plot_histogram
results = execute(qc,Aer.get_backend('qasm_simulator'), shots=1000).result().get_counts()
plot_histogram(results)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment