Skip to content

Commit

Permalink
FineXDrag 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 6924892 commit c6940fe
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions qiskit_experiments/library/characterization/fine_drag.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,28 @@ class FineDrag(BaseExperiment, RestlessMixin):
# section: analysis_ref
:class:`.ErrorAmplificationAnalysis`
# 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 FineXDrag
qubit=0
exp = FineXDrag([qubit], backend=backend)
print(exp.circuits()[3])
.. jupyter-execute::
exp.set_run_options(shots=1000, seed_simulator=101)
exp_data = exp.run().block_for_results()
exp_data.figure(0)
# section: reference
.. ref_arxiv:: 1 1612.00858
.. ref_arxiv:: 2 1011.1949
Expand Down

0 comments on commit c6940fe

Please sign in to comment.