pytc.vmc.mcmc_utils.load_optimization_history

pytc.vmc.mcmc_utils.load_optimization_history(filepath)[source]

Load the optimization history from an HDF5 file.

Parameters:

filepath (str) – Path to the HDF5 file.

Returns:

Dictionary with ‘cost’, ‘energies’, ‘stds’, ‘acceptance’, ‘params’. ‘params’ is a PyTree where each leaf is stacked along axis=0 (the step).

Return type:

Dict[str, Any]