From c82e1ef7e4884d57fa90e2259bb7474d6900e526 Mon Sep 17 00:00:00 2001 From: Daniel Puzzuoli Date: Wed, 28 Feb 2024 08:45:53 -0800 Subject: [PATCH] Fix Nyquist frequency warnings in tests (#330) --- test/dynamics/pulse/test_pulse_to_signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dynamics/pulse/test_pulse_to_signals.py b/test/dynamics/pulse/test_pulse_to_signals.py index 88451ae65..d56fb8bb4 100644 --- a/test/dynamics/pulse/test_pulse_to_signals.py +++ b/test/dynamics/pulse/test_pulse_to_signals.py @@ -445,12 +445,12 @@ def jit_func_symbolic_pulse(amp): with pulse.build() as schedule: pulse.play(instance, pulse.DriveChannel(0)) pulse.set_phase(0.1, pulse.DriveChannel(0)) - pulse.set_frequency(0.1, pulse.DriveChannel(0)) + pulse.set_frequency(5.1, pulse.DriveChannel(0)) pulse.shift_phase(0.1, pulse.DriveChannel(0)) pulse.set_phase(0.1, pulse.DriveChannel(0)) pulse.shift_frequency(0.1, pulse.DriveChannel(0)) pulse.shift_frequency(0.1, pulse.DriveChannel(0)) - pulse.set_frequency(0.1, pulse.DriveChannel(0)) + pulse.set_frequency(5.1, pulse.DriveChannel(0)) pulse.shift_phase(0.1, pulse.DriveChannel(0)) pulse.play(instance, pulse.DriveChannel(0)) converter = InstructionToSignals(self._dt, carriers={"d0": 5})