Skip to content

Commit

Permalink
Update program.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeCoull authored Apr 12, 2024
1 parent 9b0e615 commit 5dd67c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def local_detuning_pattern_has_the_same_length_as_atom_array_sites(cls, values):
pattern_size = len(local_detuning["magnitude"]["pattern"])
if num_sites != pattern_size:
raise ValueError(
f"The length of pattern ({pattern_size}) of shifting field {idx} must equal "
f"The length of pattern ({pattern_size}) of local detuning {idx} must equal "
f"the number of atom array sites ({num_sites})."
)
return values
Expand Down

0 comments on commit 5dd67c9

Please sign in to comment.