qrisp.vqe.VQEBenchmark.load#

classmethod VQEBenchmark.load(filename)[source]#

Loads benchmark data from the harddrive that has been saved by .save.

Parameters:
filenamestring

The filename to load from.

Returns:
objVQEBenchmark

The loaded data.

Examples

We assume that the code from the example in .save has been executed and load the corresponding data:

from qrisp.vqe import VQEBenchmark

benchmark_data = VQEBenchmark.load("example.vqe")