Skip to content

Commit

Permalink
remove unused attribute .signal
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-k committed Feb 14, 2024
1 parent 158b656 commit 36edca6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/qibolab/instruments/zhinst.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ def __init__(self, pulse):
"""Zurich pulse from qibolab pulse."""
self.pulse = pulse
"""Qibolab pulse."""
self.signal = f"{pulse.type.name.lower()}{pulse.qubit}"
"""Line associated with the pulse."""
self.zhpulse = select_pulse(pulse, pulse.type.name.lower())
"""Zurich pulse."""

Expand All @@ -162,8 +160,7 @@ def __init__(self, pulse, sweeper, qubit):

self.pulse = pulse
"""Qibolab pulse associated to the sweeper."""
self.signal = f"{pulse.type.name.lower()}{pulse.qubit}"
"""Line associated with the pulse."""

self.zhpulse = ZhPulse(pulse).zhpulse
"""Zurich pulse associated to the sweeper."""

Expand Down Expand Up @@ -236,7 +233,6 @@ def __init__(self, sweeper, qubit=None, sequence=None, pulse=None):
channel=qubit.flux.name,
qubit=qubit.name,
)
self.signal = qubit.flux.name
if isinstance(qubit, Coupler):
pulse = CouplerFluxPulse(
start=0,
Expand All @@ -246,7 +242,6 @@ def __init__(self, sweeper, qubit=None, sequence=None, pulse=None):
channel=qubit.flux.name,
qubit=qubit.name,
)
self.signal = qubit.flux.name

self.pulse = pulse

Expand All @@ -259,8 +254,6 @@ def __init__(self, sweeper, qubit=None, sequence=None, pulse=None):
elif sweeper.parameter is Parameter.start:
if pulse:
self.pulse = pulse
self.signal = qubit.flux.name

self.zhpulse = ZhPulse(pulse).zhpulse

# Need something better to store multiple sweeps on the same pulse
Expand Down

0 comments on commit 36edca6

Please sign in to comment.