Skip to content

Commit

Permalink
fixup! add delay_and_phase_accumulation_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kento Ueda authored and Kento Ueda committed Dec 14, 2022
1 parent d069b0c commit 88ac45e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions qiskit_dynamics/pulse/pulse_to_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ def get_signals(self, schedule: Schedule) -> List[DiscreteSignal]:

# build sample array to append to signal
times = self._dt * (start_sample + np.arange(len(inst_samples)))
print(f"{phase_accumulations[chan]=}")
print(f"{freq=}")
samples = inst_samples * np.exp(
2.0j * np.pi * freq * times + 1.0j * phi + 2.0j * np.pi * phase_accumulations[chan]
)
Expand All @@ -149,7 +147,6 @@ def get_signals(self, schedule: Schedule) -> List[DiscreteSignal]:
* self._dt
)
frequency_shifts[chan] = inst.frequency - signals[chan].carrier_freq
print(f"{frequency_shifts[chan]=}")

# ensure all signals have the same number of samples
max_duration = 0
Expand Down

0 comments on commit 88ac45e

Please sign in to comment.