Skip to content

Commit

Permalink
build: Move all ramsey protocols in ramsey folder
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Dec 18, 2023
1 parent 882ffeb commit d82adee
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/qibocal/protocols/characterization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@
from .rabi.length import rabi_length
from .rabi.length_sequences import rabi_length_sequences
from .rabi.length_signal import rabi_length_signal
from .ramsey import ramsey
from .ramsey_sequences import ramsey_sequences
from .ramsey_sequences_signal import ramsey_sequences_signal
from .ramsey_signal import ramsey_signal
from .ramsey import ramsey, ramsey_sequences, ramsey_sequences_signal, ramsey_signal
from .randomized_benchmarking.standard_rb import standard_rb
from .readout_characterization import readout_characterization
from .readout_mitigation_matrix import readout_mitigation_matrix
Expand Down
4 changes: 4 additions & 0 deletions src/qibocal/protocols/characterization/ramsey/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .ramsey import ramsey
from .ramsey_sequences import ramsey_sequences
from .ramsey_sequences_signal import ramsey_sequences_signal
from .ramsey_signal import ramsey_signal
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from qibocal import update
from qibocal.auto.operation import Data, Parameters, Qubits, Results, Routine

from .utils import GHZ_TO_HZ, chi2_reduced, table_dict, table_html
from ..utils import GHZ_TO_HZ, chi2_reduced, table_dict, table_html

POPT_EXCEPTION = [0, 0, 0, 0, 0]
"""Fit parameters output to handle exceptions"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

from qibocal.auto.operation import Qubits, Results, Routine

from ..utils import GHZ_TO_HZ, table_dict, table_html
from .ramsey import (
PERR_EXCEPTION,
POPT_EXCEPTION,
Expand All @@ -20,7 +21,6 @@
fitting,
ramsey_fit,
)
from .utils import GHZ_TO_HZ, table_dict, table_html


@dataclass
Expand Down

0 comments on commit d82adee

Please sign in to comment.