Waveform(samples, name=None, epsilon=1e-07)¶
A pulse specified completely by complex-valued samples; each sample is played for the duration of the backend cycle-time, dt.
Create new sample pulse command.
complex]]) – Complex array of the samples in the pulse envelope.
str]) – Unique name to identify the pulse.
float) – Pulse sample norm tolerance for clipping. If any sample’s norm exceeds unity by less than or equal to epsilon it will be clipped to unit norm. If the sample norm is greater than 1+epsilon an error will be raised.
Unique identifier for this pulse.
Return sample values.
Return a new pulse with parameters assigned.
Waveform.draw([dt, style, filename, …])
Plot the interpolated envelope of pulse.