qudit_sim.pulse.PulseSequence.envelope

PulseSequence.envelope(t, args=None)

Return the envelope of the sequence as a function of time.

This function is mostly for visualization purposes. Phase and frequency information is lost in the returned array.

Parameters
  • t (Union[float, numpy.ndarray]) – Time or array of time points.

  • args (Optional[Any]) – Second argument to the pulse envelope functions.

Return type

numpy.ndarray

Returns

Pulse sequence envelope (complex) as a function of time.