Skip to content

Commit

Permalink
Added to T2Ramsey tutorial residual plot
Browse files Browse the repository at this point in the history
  • Loading branch information
ItamarGoldman committed Feb 18, 2024
1 parent dc5bb38 commit ad348a8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/manuals/characterization/t2ramsey.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,21 @@ frequency.
for result in expdata1.analysis_results():
print(result)

If we would like to see the residual plot, we should set ``plot_residuals=True`` in
the analysis options:

.. jupyter-execute::

# Set to ``True`` analysis option for residual plot
exp1.analysis.set_options(plot_residuals=True)

# Run experiment
expdata1 = exp1.run(backend=backend, shots=2000, seed_simulator=101)
expdata1.block_for_results() # Wait for job/analysis to finish.

# Display the figure
display(expdata1.figure(0))


Providing initial user estimates
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit ad348a8

Please sign in to comment.