Skip to content

Commit

Permalink
chore: change PulseSequence import to qibolab.sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Aug 18, 2024
1 parent 627c31c commit da1c6ad
Show file tree
Hide file tree
Showing 49 changed files with 54 additions and 49 deletions.
2 changes: 1 addition & 1 deletion src/qibocal/protocols/allxy/allxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import plotly.graph_objects as go
from qibolab import AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Data, Parameters, Results, Routine

Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/allxy/allxy_drag_pulse_tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Data, Parameters, Results, Routine

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Data, Parameters, Results, Routine

Expand Down
3 changes: 2 additions & 1 deletion src/qibocal/protocols/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import Delay, PulseSequence
from qibolab.pulses import Delay
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from sklearn.metrics import roc_auc_score, roc_curve

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/spin_echo.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Routine

Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/spin_echo_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal import update
from qibocal.auto.operation import Parameters, Results, Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/t1.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Data, Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/t1_sequences.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Routine

Expand Down
3 changes: 2 additions & 1 deletion src/qibocal/protocols/coherence/t1_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import Delay, PulseSequence
from qibolab.pulses import Delay
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/t2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/t2_sequences.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Routine

Expand Down
3 changes: 2 additions & 1 deletion src/qibocal/protocols/coherence/t2_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import Delay, PulseSequence
from qibolab.pulses import Delay
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/zeno.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Routine

Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/coherence/zeno_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal import update
from qibocal.auto.operation import Data, Parameters, Results, Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/couplers/coupler_chevron.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitPairId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Results, Routine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitPairId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Routine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitPairId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/dispersive_shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from plotly.subplots import make_subplots
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/dispersive_shift_qutrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from plotly.subplots import make_subplots
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Results, Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/drag.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from scipy.optimize import curve_fit

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/fast_reset/fast_reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from plotly.subplots import make_subplots
from qibolab import ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Data, Parameters, Results, Routine
from qibocal.protocols.utils import table_dict, table_html
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/flipping.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from scipy.optimize import curve_fit

from qibocal.auto.operation import Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/flipping_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from scipy.optimize import curve_fit

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/flux_dependence/qubit_crosstalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import numpy.typing as npt
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType
from scipy.optimize import curve_fit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import numpy.typing as npt
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType
from scipy.optimize import curve_fit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Routine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import numpy.typing as npt
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType
from scipy.optimize import curve_fit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import numpy.typing as npt
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType
from scipy.optimize import curve_fit

Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/qubit_power_spectroscopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from plotly.subplots import make_subplots
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Parameters, Results, Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/qubit_spectroscopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import numpy as np
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/qubit_spectroscopy_ef.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import numpy as np
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/qutrit_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import numpy as np
from qibolab import AcquisitionType, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Routine
from qibocal.fitting.classifier import run
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/rabi/ef.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import numpy as np
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
3 changes: 2 additions & 1 deletion src/qibocal/protocols/rabi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import plotly.graph_objects as go
from plotly.subplots import make_subplots
from qibolab.platform import Platform
from qibolab.pulses import Delay, PulseSequence
from qibolab.pulses import Delay
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from scipy.optimize import curve_fit

from qibocal.auto.operation import Parameters
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/ramsey/ramsey.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal.auto.operation import Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/ramsey/ramsey_signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import plotly.graph_objects as go
from qibolab import AcquisitionType, AveragingMode, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from qibolab.sweeper import Parameter, Sweeper, SweeperType

from qibocal import update
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/ramsey/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import numpy as np
from qibolab import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence
from scipy.optimize import curve_fit

from qibocal.protocols.utils import fallback_period, guess_period
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/readout_characterization.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from plotly.subplots import make_subplots
from qibolab import AcquisitionType, ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal import update
from qibocal.auto.operation import Data, Parameters, Results, Routine
Expand Down
2 changes: 1 addition & 1 deletion src/qibocal/protocols/readout_mitigation_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from qibo.models import Circuit
from qibolab import ExecutionParameters
from qibolab.platform import Platform
from qibolab.pulses import PulseSequence
from qibolab.qubits import QubitId
from qibolab.sequence import PulseSequence

from qibocal.auto.operation import Data, Parameters, Results, Routine
from qibocal.auto.transpile import dummy_transpiler, execute_transpiled_circuit
Expand Down
Loading

0 comments on commit da1c6ad

Please sign in to comment.