Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLaudatQM committed Mar 4, 2025
1 parent a9cf448 commit 45ca66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qualang_tools/voltage_gates/voltage_gate_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def add_step(
def add_compensation_pulse(self, max_amplitude: float = 0.49, **kwargs) -> None:
"""Add a compensation pulse of the specified amplitude whose duration is derived automatically from the previous operations and the maximum amplitude allowed.
Note that the derivation of the compensation pulse parameters in real-time may add a gap up to 300ns before playing the pulse, but the voltage will be maintained.
:param max_amplitude: Maximum amplitude allowed for the compensation pulse in V. Default is 0.35V.
:param max_amplitude: Maximum amplitude allowed for the compensation pulse in V. Default is 0.49V.
"""
duration = kwargs.get("duration", None)
if duration is not None:
Expand Down

0 comments on commit 45ca66b

Please sign in to comment.