Skip to content

Commit

Permalink
minimize ZhPort (preparing to remove)
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-k committed Feb 8, 2024
1 parent 0acbd26 commit 5cb192d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/qibolab/instruments/zhinst.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,6 @@ def select_pulse(pulse, pulse_type):
)


@dataclass
class ZhPort(Port):
name: Tuple[str, str]
offset: float = 0.0
power_range: int = 0


class ZhPulse:
"""Zurich pulse from qibolab pulse translation."""

Expand Down Expand Up @@ -270,6 +263,12 @@ def select_sweeper(sweeper):
)


# FIXME: not needed for any logic inside the driver. Only needed to meet the expectations set by parent class Controller.
@dataclass
class ZhPort:
name: str


class Zurich(Controller):
"""Zurich driver main class."""

Expand Down

0 comments on commit 5cb192d

Please sign in to comment.