Skip to content

Commit

Permalink
Update src/qibo/models/variational.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Pasquale <[email protected]>
  • Loading branch information
Edoardo-Pedicillo and andrea-pasquale authored Jun 6, 2024
1 parent 0fa4818 commit 813a306
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/qibo/models/variational.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def minimize(
loss = lambda p, c, h: dtype(loss_func(p, c, h))
elif method != "sgd":
loss = lambda p, c, h: self.hamiltonian.backend.to_numpy(loss_func(p, c, h))
print("JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ", options)
result, parameters, extra = self.optimizers.optimize(
loss,
initial_state,
Expand Down

0 comments on commit 813a306

Please sign in to comment.