Skip to content
Snippets Groups Projects
Commit 8ce81b44 authored by Valentin Bruch's avatar Valentin Bruch
Browse files

surface 17: correction in optimized solution

parent 5bf54f0f
No related branches found
No related tags found
No related merge requests found
......@@ -148,10 +148,10 @@ def main(relative_samples=10000, resolution=16):
ax.set_title('Pseudothreshold of Surface-17, depolarizing noise')
ax.set_xscale('log')
ax.set_yscale('log')
ax.plot(pRange, x_failure_rates, '-x', label='logical X error')
ax.plot(pRange, y_failure_rates, '-x', label='logical Y error')
ax.plot(pRange, z_failure_rates, '-x', label='logical Z error')
ax.plot(pRange, total_failure_rates, '-x', label='any logical error')
ax.plot(pRange, logical_error_rates[:,0], '-x', label='logical X error')
ax.plot(pRange, logical_error_rates[:,1], '-x', label='logical Y error')
ax.plot(pRange, logical_error_rates[:,2], '-x', label='logical Z error')
ax.plot(pRange, logical_error_rates.sum(axis=1), '-x', label='any logical error')
ax.plot(pRange, pRange, 'k:', alpha=0.5)
ax.legend()
fig.tight_layout()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment