Skip to content

Commit

Permalink
ReadoutAngle update (Qiskit-Extensions#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naohnakazawa committed Feb 10, 2024
1 parent 832b22c commit cd304c1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions qiskit_experiments/library/characterization/readout_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,30 @@ class ReadoutAngle(BaseExperiment):
# section: analysis_ref
:class:`ReadoutAngleAnalysis`
# section: example
.. jupyter-execute::
:hide-code:
# backend
from qiskit_experiments.test.pulse_backend import SingleTransmonTestBackend
backend = SingleTransmonTestBackend(5.2e9,-.25e9, 1e9, 0.8e9, 1e4, noise=False, seed=199)
.. jupyter-execute::
from qiskit_experiments.library.characterization import ReadoutAngle
qubit=0
exp = ReadoutAngle([qubit], backend=backend)
exp.set_run_options(shots=1000, seed_simulator=106)
exp_data = exp.run().block_for_results()
result = exp_data.analysis_results()
for _ in result:
print(_)
.. jupyter-execute::
exp_data.figure(0)
"""

@classmethod
Expand Down

0 comments on commit cd304c1

Please sign in to comment.