You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An instance of QAOABenchmark contains the classical cost function as a Python function. The .save method uses dill to save the QAOABenchmark instance including the cost_function into a .qaoa file.
The resulting .qaoa file can only be loaded on the same system (and at the same place) where it has been created due to dependencies on the local environment.
Possible solution: Instead of saving the cost function, save an additional dictionary of measurement outcomes and their cost values.
The text was updated successfully, but these errors were encountered:
An instance of QAOABenchmark contains the classical cost function as a Python function. The .save method uses dill to save the QAOABenchmark instance including the cost_function into a .qaoa file.
The resulting .qaoa file can only be loaded on the same system (and at the same place) where it has been created due to dependencies on the local environment.
Possible solution: Instead of saving the cost function, save an additional dictionary of measurement outcomes and their cost values.
The text was updated successfully, but these errors were encountered: