load

tenpy.tools.hdf5_io.load(filename)[source]

Load data from file with given filename.

Guess the type of the file from the filename ending, see save() for possible endings.

Parameters:

filename (str) – The name of the file to load.

Returns:

data – The object loaded from the file.

Return type:

obj