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

Update readout example notebook #156

Merged
merged 13 commits into from
Jun 24, 2019
11 changes: 11 additions & 0 deletions examples/qubit_spectroscopy_t2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,21 @@
"**Use the results to fit a curve and produce estimates of $T_2^*$**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Note:** in some of the cells below there is a comment `# NBVAL_SKIP` this is used in testing to speed up our tests by skipping that particular cell."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# NBVAL_SKIP\n",
"\n",
"stats_by_qubit = get_stats_by_qubit(results)\n",
"for q, stats in stats_by_qubit.items():\n",
" fit = fit_t2_results(np.asarray(times) / MICROSECOND, stats_by_qubit[q]['expectation'],\n",
Expand Down Expand Up @@ -217,6 +226,8 @@
"metadata": {},
"outputs": [],
"source": [
"# NBVAL_SKIP\n",
"\n",
"stats_by_qubit = get_stats_by_qubit(echo_results)\n",
"for q, stats in stats_by_qubit.items():\n",
" fit = fit_t2_results(np.asarray(times) / MICROSECOND, stats_by_qubit[q]['expectation'],\n",
Expand Down
Loading