Skip to content

Instantly share code, notes, and snippets.

@willzeng
Last active November 6, 2019 05:12
Show Gist options
  • Select an option

  • Save willzeng/05e28d58166e84bc3fcd679682b36e91 to your computer and use it in GitHub Desktop.

Select an option

Save willzeng/05e28d58166e84bc3fcd679682b36e91 to your computer and use it in GitHub Desktop.
# run the noisy experiment
noisy_xeb = fidelity_xeb_noisy(n_qubits=6, trials=10**3, n_samples=10, prob_no_error=0.7)
print("Empirical FXEB of a noisy simulation: ", noisy_xeb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment