Skip to content

Commit

Permalink
derivative_eval -> param_shift
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWeaving committed Oct 9, 2024
1 parent 31ebf52 commit 1b1a3e2
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 @@ -240,7 +240,7 @@ class ADAPT_VQE(VQE_Driver):
# method by which to calculate the operator pool derivatives, either
# commutators: compute the commutator of the observable with each pool element
# param_shift: use the parameter shift rule, requiring two expectation values per derivative
derivative_eval = 'commutators'
derivative_eval = 'param_shift'
# we have alost implemented TETRIS-ADAPT-VQE as per https://doi.org/10.48550/arXiv.2209.10562
# that aims to reduce circuit-depth in the ADAPT routine by adding multiple excitation terms
# per cycle that are supported on distinct qubit positions.
Expand Down

0 comments on commit 1b1a3e2

Please sign in to comment.