Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wshanks committed Apr 28, 2023
1 parent f6b188f commit b6ad468
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 0 additions & 2 deletions test/library/calibration/test_drag.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from qiskit.exceptions import QiskitError
from qiskit.pulse import DriveChannel, Drag
from qiskit.qobj.utils import MeasLevel
from qiskit import transpile

from qiskit_experiments.library import RoughDrag, RoughDragCal
from qiskit_experiments.library.characterization.analysis import DragCalAnalysis
Expand Down Expand Up @@ -176,7 +175,6 @@ def setUp(self):
def test_default_circuits(self):
"""Test the default circuit."""

backend = MockIQBackend(DragHelper(gate_name="Drag(xp)", frequency=0.005))
drag = RoughDrag([0], self.x_plus)
drag.set_experiment_options(reps=[2, 4, 8])
drag.backend = MockIQBackend(DragHelper(gate_name="Drag(xp)"))
Expand Down
2 changes: 1 addition & 1 deletion test/library/calibration/test_fine_amplitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import numpy as np
from ddt import ddt, data

from qiskit import pulse, transpile
from qiskit import pulse
from qiskit.circuit import Gate
from qiskit.circuit.library import XGate, SXGate
from qiskit.pulse import DriveChannel, Drag
Expand Down
3 changes: 1 addition & 2 deletions test/library/calibration/test_fine_drag.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"""Test fine drag calibration experiment."""

from test.base import QiskitExperimentsTestCase
import copy
import numpy as np

from qiskit import pulse, transpile
from qiskit import pulse
from qiskit.circuit import Gate
from qiskit.providers.fake_provider import FakeArmonkV2

Expand Down
2 changes: 1 addition & 1 deletion test/library/calibration/test_rough_amplitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from test.base import QiskitExperimentsTestCase
import numpy as np

from qiskit import pulse, transpile
from qiskit import pulse
from qiskit.circuit import Parameter

from qiskit_experiments.calibration_management.basis_gate_library import FixedFrequencyTransmon
Expand Down

0 comments on commit b6ad468

Please sign in to comment.