# qiskit.pulse.library.GaussianSquare.get_waveform¶

GaussianSquare.get_waveform()

Return a Waveform with samples filled according to the formula that the pulse represents and the parameter values it contains.

Since the returned array is a discretized time series of the continuous function, this method uses a midpoint sampler. For duration, return:

$\{f(t+0.5) \in \mathbb{C} | t \in \mathbb{Z} \wedge 0<=t<\texttt{duration}\}$

Waveform

A waveform representation of this pulse.

• PulseError – When parameters are not assigned.

• PulseError – When expression for pulse envelope is not assigned.