Skip to content

Commit 6f48240

Browse files
authored
qiskit.pulse.library.Square_fun.rst (Qiskit#13007)
1 parent 6107799 commit 6f48240

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

qiskit/pulse/library/symbolic_pulses.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,12 +1773,13 @@ def Square(
17731773
is the sign function with the convention :math:`\\text{sign}\\left(0\\right)=1`.
17741774
17751775
Args:
1776-
duration: Pulse length in terms of the sampling period `dt`.
1777-
amp: The magnitude of the amplitude of the square wave. Wave range is [-`amp`,`amp`].
1776+
duration: Pulse length in terms of the sampling period ``dt``.
1777+
amp: The magnitude of the amplitude of the square wave. Wave range is
1778+
:math:`\\left[-\\texttt{amp},\\texttt{amp}\\right]`.
17781779
phase: The phase of the square wave (note that this is not equivalent to the angle of
17791780
the complex amplitude).
17801781
freq: The frequency of the square wave, in terms of 1 over sampling period.
1781-
If not provided defaults to a single cycle (i.e :math:'\\frac{1}{\\text{duration}}').
1782+
If not provided defaults to a single cycle (i.e :math:`\\frac{1}{\\text{duration}}`).
17821783
The frequency is limited to the range :math:`\\left(0,0.5\\right]` (the Nyquist frequency).
17831784
angle: The angle in radians of the complex phase factor uniformly
17841785
scaling the pulse. Default value 0.

0 commit comments

Comments
 (0)