Skip to content

Commit

Permalink
fixing rounding for detuning.
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 committed Apr 5, 2023
1 parent f2464dd commit b784e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quera_ahs_utils/quera_ir/task_specification.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __hash__(self):
return hash((Detuning, self.global_, self.local))

def discretize(self, task_capabilities: QuEraCapabilities):
global_time_resolution = task_capabilities.capabilities.rydberg.global_.time_delta_min
global_time_resolution = task_capabilities.capabilities.rydberg.global_.time_resolution
global_value_resolution = task_capabilities.capabilities.rydberg.global_.detuning_resolution
local_time_resolution = task_capabilities.capabilities.rydberg.local.time_resolution

Expand Down

0 comments on commit b784e3f

Please sign in to comment.