Skip to content

Commit

Permalink
Changed default expectation_eval to sparse_array and derivative_eval …
Browse files Browse the repository at this point in the history
…to param_shift
  • Loading branch information
TimWeaving committed Oct 9, 2024
1 parent 4d586f1 commit 31ebf52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symmer/evolution/variational_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class VQE_Driver:
expectation_eval (str): expectation value method. Its default value is 'symbolic_direct'.
verbose (bool): If True, prints out useful information during computation. By default it is set to 'True'.
"""
expectation_eval = 'symbolic_direct'
expectation_eval = 'sparse_array'
# prints out useful information during computation:
verbose = True

Expand Down

0 comments on commit 31ebf52

Please sign in to comment.