Skip to content

Commit

Permalink
update qiskit_experiments/library/characterization/correlated_readout…
Browse files Browse the repository at this point in the history
…_error.py
  • Loading branch information
Naohnakazawa committed May 2, 2024
1 parent 34f7a19 commit 90f18aa
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class CorrelatedReadoutError(BaseExperiment):
from qiskit_experiments.library import CorrelatedReadoutError
exp = CorrelatedReadoutError(physical_qubits=(0,1,2), backend=backend)
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
exp_data.analysis_results(dataframe=True)
Expand Down
4 changes: 0 additions & 4 deletions qiskit_experiments/library/characterization/fine_amplitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,6 @@ class FineXAmplitude(FineAmplitude):
exp = FineXAmplitude(physical_qubits=(0,), backend=backend)
.. jupyter-execute::
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
exp_data.analysis_results(dataframe=True)
Expand Down Expand Up @@ -328,8 +326,6 @@ class FineSXAmplitude(FineAmplitude):
exp = FineSXAmplitude(physical_qubits=(0,), backend=backend)
.. jupyter-execute::
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
exp_data.analysis_results(dataframe=True)
Expand Down
2 changes: 0 additions & 2 deletions qiskit_experiments/library/characterization/fine_drag.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,6 @@ class FineSXDrag(FineDrag):
},
)
.. jupyter-execute::
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
exp_data.analysis_results(dataframe=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ class FineFrequency(BaseExperiment):
from qiskit_experiments.library.characterization import FineFrequency
repetitions = list(range(40))
exp = FineFrequency((0,),
delay_duration=320,
backend=backend,
repetitions=repetitions)
exp.set_transpile_options(optimization_level=0, basis_gates=['sx', 'rz', 'delay'])
.. jupyter-execute::
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
exp_data.analysis_results(dataframe=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class ReadoutAngle(BaseExperiment):
.. jupyter-execute::
from qiskit_experiments.library.characterization import ReadoutAngle
exp = ReadoutAngle((0,), backend=backend)
exp_data = exp.run().block_for_results()
Expand Down
3 changes: 1 addition & 2 deletions qiskit_experiments/library/characterization/zz_ramsey.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ class ZZRamsey(BaseExperiment):
from qiskit_experiments.library.characterization import ZZRamsey
qubits = (0, 1)
exp = ZZRamsey(physical_qubits=qubits, backend=backend)
exp = ZZRamsey(physical_qubits=(0,1), backend=backend)
exp_data = exp.run().block_for_results()
display(exp_data.figure(0))
Expand Down

0 comments on commit 90f18aa

Please sign in to comment.