Skip to content

Commit

Permalink
Fix formatting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
deanpoulos committed Apr 28, 2024
1 parent e730361 commit cc43b2f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions qualang_tools/macros/long_wait.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
MAX_WAIT = 2**31 - 1 # units of clock cycles (4ns)


def long_wait(wait_time: Union[int, np.integer], *elements: str,
threshold_for_looping: int = unit(coerce_to_integer=True).to_clock_cycles(1_000_000)):
def long_wait(
wait_time: Union[int, np.integer],
*elements: str,
threshold_for_looping: int = unit(coerce_to_integer=True).to_clock_cycles(1_000_000),
):
"""Perform a QUA wait command for longer than the current maximum wait time, 2^31-1.
This macro unrolls into QUA for-loop of smaller waits if the maximum wait time is exceeded in `wait_time`.
Expand Down

0 comments on commit cc43b2f

Please sign in to comment.