iqm.pulse.utils.load_yaml

Contents

iqm.pulse.utils.load_yaml#

iqm.pulse.utils.load_yaml(path)#

Load a YAML file from the given path, raise error if the file can’t be loaded.

Parameters:

path (str) – path to a YAML file

Returns:

contents of the YAML file as Python types

Return type:

dict[str, Any]