Update Cheat sheet authored by Sander de Snoo's avatar Sander de Snoo
...@@ -3,6 +3,8 @@ Below are the frequently used methods of pulse-lib with the most common argument ...@@ -3,6 +3,8 @@ Below are the frequently used methods of pulse-lib with the most common argument
# Configuration # Configuration
```Python ```Python
from pulse_lib import pulselib
pulse = pulselib(backend="Qblox") pulse = pulselib(backend="Qblox")
pulse.add_awg(awg) pulse.add_awg(awg)
pulse.add_digitizer(digitizer) pulse.add_digitizer(digitizer)
...@@ -93,7 +95,7 @@ segment[channel].acquire(start, duration, m_name, threshold=threshold, ...@@ -93,7 +95,7 @@ segment[channel].acquire(start, duration, m_name, threshold=threshold,
# Looping # Looping
```Python ```Python
import pulse_lib.segments.utility.looping as lp import pulse_lib.looping as lp
amplitude = lp.linspace(100, 150, 51, name="amplitude", unit="mV", axis=0) amplitude = lp.linspace(100, 150, 51, name="amplitude", unit="mV", axis=0)
t_wait = lp.geomspace(10, 1000, 9, name="t_wait", unit="ns", axis=1) t_wait = lp.geomspace(10, 1000, 9, name="t_wait", unit="ns", axis=1)
... ...
......