Skip to content

Commit

Permalink
fix: Lint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-pasquale committed Aug 12, 2024
1 parent 1d0405c commit 4ca385e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qibocal/protocols/two_qubit_interaction/cz_sweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
from qibocal.config import log
from qibocal.protocols.utils import table_dict, table_html

from .cz_virtualz import create_sequence, fit_function
from .utils import order_pair
from .virtual_z_phases import create_sequence, fit_function


@dataclass
Expand Down Expand Up @@ -462,7 +462,7 @@ def _plot(data: CZSweepData, fit: CZSweepResults, target: QubitPairId):
def _update(results: CZSweepResults, platform: Platform, target: QubitPairId):
# FIXME: quick fix for qubit order
target = tuple(sorted(target))
update.virtual_phases(results.best_virtual_phase[target], platform, target)
update.virtual_phases(results.best_virtual_phase[target], "CZ", platform, target)
update.CZ_duration(results.best_dur[target], platform, target)
update.CZ_amplitude(results.best_amp[target], platform, target)

Expand Down

0 comments on commit 4ca385e

Please sign in to comment.