Skip to content

Commit

Permalink
Fix waveform docstrings (again), ensure mkdocs renders them properly
Browse files Browse the repository at this point in the history
  • Loading branch information
johnzl-777 committed Oct 1, 2023
1 parent 5511127 commit beb7d25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bloqade/builder/waveform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit beb7d25

Please sign in to comment.