Skip to content

Commit e60c277

Browse files
committed
Merge branch 'main' into jcjaskula-aws/add_in_place_modifications
1 parent 7d9bc3b commit e60c277

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/braket/pulse/waveforms.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class WaveformDict(dict):
4949
waveform is modified so the OQpy object is also updated.
5050
"""
5151

52-
def __init__(self, waveform_dict: Dict, pulse_sequence: PulseSequence):
52+
def __init__(self, waveform_dict: dict, pulse_sequence: PulseSequence):
5353
for waveform in waveform_dict.values():
5454
waveform._pulse_sequence = pulse_sequence
5555
super().__init__(waveform_dict)
@@ -137,16 +137,16 @@ def __init__(self, amplitudes: list[complex], id: Optional[str] = None):
137137
super().__init__()
138138

139139
@property
140-
def amplitudes(self) -> List[complex]:
140+
def amplitudes(self) -> list[complex]:
141141
return self._amplitudes
142142

143143
@amplitudes.setter
144-
def amplitudes(self, value: List[complex]) -> None:
144+
def amplitudes(self, value: list[complex]) -> None:
145145
"""
146146
Sets the list of amplitudes.
147147
148148
Args:
149-
value (List[complex]): Array of complex values specifying the
149+
value (list[complex]): Array of complex values specifying the
150150
waveform amplitude at each timestep. The timestep is determined by the sampling rate
151151
of the frame to which waveform is applied to.
152152

0 commit comments

Comments
 (0)