Skip to content

Commit

Permalink
T1 update (Qiskit-Extensions#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naohnakazawa committed Feb 29, 2024
1 parent 5aeb353 commit 59ccc47
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions qiskit_experiments/library/characterization/t1.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,25 @@ class T1(BaseExperiment):
# section: analysis_ref
:class:`.T1Analysis`
# section: example
.. jupyter-execute::
:hide-code:
# backend
from qiskit_ibm_runtime.fake_provider import FakeManilaV2
from qiskit_aer import AerSimulator
backend = AerSimulator.from_backend(FakeManilaV2())
.. jupyter-execute::
from qiskit_experiments.library import T1
import numpy as np
delays = np.arange(1.e-6, 300.e-6, 30.e-6)
exp = T1(physical_qubits=(0, ), delays=delays, backend=backend)
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
# section: manual
:doc:`/manuals/characterization/t1`
Expand Down

0 comments on commit 59ccc47

Please sign in to comment.