From beb7d25a296c6ada34c695135a12241374388e4c Mon Sep 17 00:00:00 2001 From: John Long Date: Sun, 1 Oct 2023 01:16:49 -0400 Subject: [PATCH] Fix waveform docstrings (again), ensure mkdocs renders them properly --- src/bloqade/builder/waveform.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bloqade/builder/waveform.py b/src/bloqade/builder/waveform.py index 7616db238..92530bca6 100644 --- a/src/bloqade/builder/waveform.py +++ b/src/bloqade/builder/waveform.py @@ -610,6 +610,7 @@ def fn(self, fn: Callable, duration: ScalarType) -> "Fn": >>> assigned_vars_prog = prog.assign(arg1 = 1.0, arg2 = 2.0) # or go for batching! >>> assigned_vars_batch_prog = prog.assign(arg1 = 1.0, arg2 = [1.0, 2.0, 3.0]) + ``` - Your next steps include: - Continue building your waveform via: @@ -820,6 +821,7 @@ def record(self, name: str) -> "Record": >>> prog_with_record = prog_with_wf.slice(0.0, 1.0).record("end_of_wf") >>> record_applied_prog = prog_with_record.linear(start="end_of_wf" , stop=0.0, duration=0.3) + ``` - Your next steps include: - Continue building your waveform via: