Skip to content

Commit

Permalink
MultiStateDiscrimination 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 d01d766 commit f403e7c
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,24 @@ class MultiStateDiscrimination(BaseExperiment):
# section: analysis_ref
:class:`MultiStateDiscriminationAnalysis`
# 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 MultiStateDiscrimination
qubit=0
exp=MultiStateDiscrimination([qubit], backend=backend)
exp_data=exp.run().block_for_results()
result=exp_data.analysis_results()
exp_data.figure(0)
# section: reference
`Qiskit Textbook\
<https://github.com/Qiskit/textbook/blob/main/notebooks/quantum-hardware-pulses/accessing_higher_energy_states.ipynb>`_
Expand Down

0 comments on commit f403e7c

Please sign in to comment.