Skip to content

Commit

Permalink
fixed potential for plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
Phionx committed Jul 29, 2024
1 parent 5aca2c1 commit 8f2ed4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcsys/devices/ats.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_H_full(self):
def potential(self, phi):
"""Return potential energy for a given phi."""

phi_delta_ext = self.params["phi_delta"]
phi_delta_ext = self.params["phi_delta_ext"]
phi_sum_ext = self.params["phi_sum_ext"]

V = 0.5 * self.params["El"] * (2 * jnp.pi * phi) ** 2
Expand Down

0 comments on commit 8f2ed4f

Please sign in to comment.