Skip to content

Commit

Permalink
fixed g2 typo in general_no_coupler_model and general_coupler_model
Browse files Browse the repository at this point in the history
  • Loading branch information
khoojy committed Jan 31, 2025
1 parent 8c3ca27 commit f631fcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def generate_model_config(
t1 = model_params["T1"][q]
g1 = 0 if t1 == 0 else 1.0 / t1 # * 2 * np.pi
t2 = model_params["T2"][q]
g2 = 0 if t1 == 0 else 1.0 / t2 # * 2 * np.pi
g2 = 0 if t2 == 0 else 1.0 / t2 # * 2 * np.pi

# dissipation_dict["t1"].append((np.sqrt(g1 / 2), f"sp01_{q}", [q]))
# dissipation_dict["t2"].append((np.sqrt(g2 / 2), f"Z01_{q}", [q]))
Expand Down Expand Up @@ -359,7 +359,7 @@ def generate_model_config(
t1 = model_params["T1"][c]
g1 = 0 if t1 == 0 else 1.0 / t1 # * 2 * np.pi
t2 = model_params["T2"][c]
g2 = 0 if t1 == 0 else 1.0 / t2 # * 2 * np.pi
g2 = 0 if t2 == 0 else 1.0 / t2 # * 2 * np.pi

# dissipation_dict["t1"].append((np.sqrt(g1 / 2), f"sp01_{c}", [c]))
# dissipation_dict["t2"].append((np.sqrt(g2 / 2), f"Z01_{c}", [c]))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def generate_model_config(
t1 = model_params["T1"][q]
g1 = 0 if t1 == 0 else 1.0 / t1 # * 2 * np.pi
t2 = model_params["T2"][q]
g2 = 0 if t1 == 0 else 1.0 / t2 # * 2 * np.pi
g2 = 0 if t2 == 0 else 1.0 / t2 # * 2 * np.pi

# dissipation_dict["t1"].append((np.sqrt(g1 / 2), f"sp01_{q}", [q]))
# dissipation_dict["t2"].append((np.sqrt(g2 / 2), f"Z01_{q}", [q]))
Expand Down

0 comments on commit f631fcf

Please sign in to comment.