You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you find confusing? Please describe.
If local detuning is not enabled, the local_detuning_parameters is None, and the discretization is not performed. When running a program with local detuning, one would get error All driving and local detuning time series must cover the same time span. (type=value_error)" because discretization is done in driving but not in local detuning. However, the fundamental reason is that local detuning is not enabled. The current error message is confusing and not actionable.
Describe how documentation can be improved
Inform about the experimental capabilities, rather than only throwing error related discretization at a later stage.
The text was updated successfully, but these errors were encountered:
yitchen-tim
changed the title
Better error messaging when using local detuning without experimental capabilities enabled
Better error message when using local detuning without experimental capabilities enabled
Mar 11, 2025
What did you find confusing? Please describe.
If local detuning is not enabled, the
local_detuning_parameters
isNone
, and the discretization is not performed. When running a program with local detuning, one would get errorAll driving and local detuning time series must cover the same time span. (type=value_error)"
because discretization is done in driving but not in local detuning. However, the fundamental reason is that local detuning is not enabled. The current error message is confusing and not actionable.Describe how documentation can be improved
Inform about the experimental capabilities, rather than only throwing error related discretization at a later stage.
The text was updated successfully, but these errors were encountered: