# qiskit.pulse.library.SymbolicPulse.get_waveform¶

SymbolicPulse.get_waveform()[source]

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}\}$
Return type

Waveform

Returns

A waveform representation of this pulse.

Raises
• PulseError -- When parameters are not assigned.

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