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 50919da commit ac99143
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def net_detuning_must_not_exceed_max_net_detuning(cls, values):
del program["capabilities"]
program = Program.parse_obj(program)
driving_fields = program.hamiltonian.drivingFields
local_detuning = program.hamiltonian.shiftingFields
local_detuning = program.hamiltonian.localDetuning

# If no local detuning, return
if not len(local_detuning):
Expand Down

0 comments on commit ac99143

Please sign in to comment.