utilsΒΆ

MultiManager Utilities (qurry.qurrium.multimanager.utils)

qurry.qurrium.multimanager.utils.experiment_writer(experiment_container: ExperimentContainer[_E], beforewards: Before, multicommons: MultiCommonparams, export_transpiled_circuit: bool = False, multiprocess: bool = False) dict[str, dict[str, str]][source]ΒΆ

Write the experiment.

Parameters:
  • experiment_container (ExperimentContainer[_E]) – The container of the experiment.

  • beforewards (Before) – The beforewards of the experiment.

  • multicommons (MultiCommonparams) – The common parameters of the experiment.

  • export_transpiled_circuit (bool, optional) – Whether to export the transpiled circuit. Defaults to False.

  • multiprocess (bool, optional) – Whether to use multiprocess. Defaults to False.

Returns:

The dictionary of the exported information of the experiment. The keys are the experiment IDs, and the values are the dictionaries of the exported information.

qurry.qurrium.multimanager.utils.multimanager_report_naming(analysis_name: str, no_serialize: bool, quantities_container: QuantityContainer) str[source]ΒΆ

Naming the report in the quantity container.

Parameters:
  • analysis_name (str) – The name of the analysis.

  • no_serialize (bool) – Whether to serialize the analysis.

  • quantities_container (QuantityContainer) – The container of the quantities.

Returns:

The name of the quantity container.

Return type:

str