iqm.pulse.gate_implementation.get_waveform_parameters

iqm.pulse.gate_implementation.get_waveform_parameters#

iqm.pulse.gate_implementation.get_waveform_parameters(wave, label_prefix='')#

Parameters that are required to initialize the given Waveform class.

n_samples is handled separately since it is determined by the Instruction duration and channel sample rate, and thus is shared by all the waveforms of the Instruction.

Parameters:
  • wave (type[Waveform]) – waveform class

  • label_prefix (str) – optional prefix for the parameter labels for providing additional information

Returns:

parameters of wave, in the format expected by GateImplementation.parameters. Waveform parameters that have a defined default will be returned as Setting objects and those that do not have default as Parameter objects.

Return type:

dict[str, Setting | Parameter]