Skip to content

Commit

Permalink
Add sample_Upsi to infidelity driver
Browse files Browse the repository at this point in the history
  • Loading branch information
alleSini99 committed Oct 24, 2023
1 parent 3f3ccb2 commit c6356c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netket_fidelity/driver/infidelity_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def __init__(
U_dagger=None,
preconditioner: PreconditionerT = identity_preconditioner,
is_unitary=False,
sample_Upsi=False,
cv_coeff=-0.5,
):
r"""
Expand Down Expand Up @@ -134,6 +135,7 @@ def __init__(
U_dagger=U_dagger,
is_unitary=is_unitary,
cv_coeff=cv_coeff,
sample_Upsi=sample_Upsi,
)

def _forward_and_backward(self):
Expand Down

0 comments on commit c6356c6

Please sign in to comment.