French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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}\}\]
Type renvoyé

Waveform

Renvoie

A waveform representation of this pulse.

Lève
  • PulseError – When parameters are not assigned.

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