iqm.pulse.utils.map_waveform_param_types

iqm.pulse.utils.map_waveform_param_types#

iqm.pulse.utils.map_waveform_param_types(type_hint)#

Map a python typehint into EXA Parameter’s (DataType, CollectionType) tuple.

Parameters:
  • type – python typehint.

  • type_hint (type) –

Returns:

A (DataType, CollectionType) tuple

Raises:

ValueError – for a non-supported type.

Return type:

tuple[DataType, CollectionType]