iqm.cpc.compiler.standard_stages.create_run_definition#
- iqm.cpc.compiler.standard_stages.create_run_definition(playlist, context, data_size_safety_switch=True, force_ragged_data=False)#
Create MQE-style RunDefinition.
- Parameters:
playlist (Playlist) – The Playlist to create the RunDefinition for.
data_size_safety_switch (bool) – Whether to throw an error with exceedingly large return data sizes (set to
Falseif you want to still run the job and are sure the DB and/or the stack can handle it).force_ragged_data (bool) – Whether to force the return data to the sparse ragged format even if the dimensions are representable as a cartesian product.
- Returns:
The RunDefinition.
- Return type: