Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
meandmytram committed Sep 18, 2024
1 parent ebab645 commit d7a048c
Show file tree
Hide file tree
Showing 5 changed files with 1,341 additions and 156 deletions.
6 changes: 3 additions & 3 deletions docs/source/classical_ldpc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"import matplotlib\n",
"from tqdm import tqdm\n",
"import qecstruct as qec\n",
"from scipy.stats import sem\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.colors import Normalize\n",
"from matplotlib.ticker import FormatStrFormatter\n",
Expand Down Expand Up @@ -695,9 +696,8 @@
" failure_rates[NUM_BITS, CHI_MAX, ERROR_RATE] = np.mean(\n",
" failures_statistics[NUM_BITS, CHI_MAX, ERROR_RATE]\n",
" )\n",
" error_bars[NUM_BITS, CHI_MAX, ERROR_RATE] = (\n",
" np.std(failures_statistics[NUM_BITS, CHI_MAX, ERROR_RATE])\n",
" / NUM_EXPERIMENTS # The standard error of the mean\n",
" error_bars[NUM_BITS, CHI_MAX, ERROR_RATE] = sem(\n",
" failures_statistics[NUM_BITS, CHI_MAX, ERROR_RATE]\n",
" )"
]
},
Expand Down
1 change: 1 addition & 0 deletions docs/source/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ Examples
maxbonddim.ipynb
mps-rand-circ.ipynb
quantum_surface.ipynb
quantum_surface_playground.ipynb
shor.ipynb
538 changes: 412 additions & 126 deletions docs/source/quantum_surface.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit d7a048c

Please sign in to comment.