Skip to content

Commit

Permalink
Fixed missing hints after detuning and rabi (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnzl-777 authored Sep 25, 2023
1 parent 4c72a23 commit 057db7e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/bloqade/builder/coupling.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from bloqade.builder.base import Builder
from bloqade.builder.field import Rabi, Detuning


class LevelCoupling(Builder):
@property
def detuning(self):
def detuning(self) -> Detuning:
"""
- Specify the Detuning field
- Next-step: <SpacialModulation>
Expand All @@ -19,12 +20,11 @@ def detuning(self):
:: Address atom at location labeled by variable
"""
from bloqade.builder.field import Detuning

return Detuning(self)

@property
def rabi(self):
def rabi(self) -> Rabi:
"""
- Specify the Rabi term/field.
- Possible Next:
Expand All @@ -37,7 +37,6 @@ def rabi(self):
"""
from bloqade.builder.field import Rabi

return Rabi(self)

Expand Down

0 comments on commit 057db7e

Please sign in to comment.