Skip to content

Commit f7ea2f3

Browse files
author
Corey Ostrove
committed
Patch IDT report and notebook
Minor bugfixes for IDT reporting and tutorial notebook.
1 parent 91f4d79 commit f7ea2f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_notebooks/Tutorials/algorithms/IdleTomography.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"source": [
5656
"#Generate some data (takes ~5min w/10Q)\n",
5757
"mdl_datagen = pygsti.models.create_crosstalk_free_model(pspec,\n",
58-
" lindblad_error_coeffs={'Gi': {'HX': 0.01, 'SX': 0.01}})\n",
58+
" lindblad_error_coeffs={'Gi': {('H','X'): 0.01, ('S','X'): 0.01}})\n",
5959
"ds = pygsti.data.simulate_data(mdl_datagen, idle_experiments, 100000, seed=8675309)"
6060
]
6161
},

pygsti/extras/idletomography/idtreport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def _create(self, idtresults, threshold, mdl_simulator):
117117
table = _reporttable.ReportTable(colHeadings, (None,) * len(colHeadings))
118118
for typ, fidpair, obsOrOutcome, jac_row, _ in obs_rate_specs:
119119
fig = IdleTomographyObservedRatePlot(self.ws, idtresults, typ,
120-
fidpair, obsOrOutcome, title={'text': "auto"},
120+
fidpair, obsOrOutcome, title="auto",
121121
mdl_simulator=mdl_simulator)
122122
intrinsic_reln = ""
123123
for i, el in enumerate(jac_row):

0 commit comments

Comments
 (0)