Pulsar backend cannot compile a DRAG pulse with G_amp=0
* Quantify version: d7c7e6c1a1a4d92a6df9bae4b842f07729b1a5f2 (based on most recent version of develop) (see also !71 ) * Python version: 3.8.5 * Operating System: MacOS ### Description I was writing tests for the timedomain experiments and noticed a test failing when trying to compile the AllXY experiment using the qblox pulsar backend. The offending code appears to be in line 370 of `quantify.scheduler.backends.pulsar_backend.py` ### What I Did Test marked as xfail is the offending test. Code is included in !71 ```python class TestAllXYSched: @classmethod def setup_class(cls): set_datadir(tmp_dir.name) cls.sched_kwargs = { "qubit": "q0", } cls.sched = ts.allxy_sched(**cls.sched_kwargs) cls.sched = qcompile(cls.sched, DEVICE_CFG) def test_timing(self): # test that the right operations are added and timing is as expected. for i, constr in enumerate(self.sched.timing_constraints): if i % 4 == 0: assert constr["label"][:5] == "Reset" if (i - 3) % 4 == 0: assert constr["label"][:11] == "Measurement" def test_operations(self): # 7 operations (x90, y90, X180, Y180, idle, reset measurement) assert len(self.sched.operations) == 7 @pytest.mark.xfail def test_compiles_qblox_backend(self): # assert that files properly compile qcompile(self.sched, DEVICE_CFG, HARDWARE_MAPPING) def test_compiles_zi_backend(self): pass ``` ### What Was Expected I expected the program to compile correctly for the pulsar backend. ### What Actually Happened ![image](/uploads/eab210f9d965d379e3f2b6cd589c6fbf/image.png) ### Update Problem also occured in experiment during a rabi measurement. ![image](/uploads/3de0e234fa933080f2072acaae2196ff/image.png)
issue