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
I'm running the QRC Demo Aquila Submission.ipynb from the QRC_tutorials, and I've encountered an error that I need help resolving. When executing the following line of code:
I receive the following error message: ValueError: Device does not support local detuning, but the program has a non-uniform spatial modulation for detuning.
After checking, I found that in the function generate_ahs_code, extra_sm is not None,
`extra_sm = set(level_couplings[sequence.rydberg][pulse.detuning]) - {field.Uniform}
if extra_sm:
if capabilities is not None and capabilities.capabilities.rydberg.local is None:
raise ValueError(
"Device does not support local detuning, but the program has a "
"non-uniform spatial modulation for detuning."
)`
so i need to check whether capabilities support local detunings. However, in the function to_quera_capabilities, local is set to None, which causes my code fail to run. I really don't know how to solve this problem and hope to seek some help.
OS: Windows 11
Bloqade Version: 0.15.14
Python Version: 3.12.0
The text was updated successfully, but these errors were encountered:
Hello,
I'm running the QRC Demo Aquila Submission.ipynb from the QRC_tutorials, and I've encountered an error that I need help resolving. When executing the following line of code:
task = build_task(QRC_parameters, xs[data, :]).parallelize(15).braket.aquila().run_async(shots=nshots, name="QRC_train_" + str(data))
I receive the following error message:
ValueError: Device does not support local detuning, but the program has a non-uniform spatial modulation for detuning.
After checking, I found that in the function generate_ahs_code, extra_sm is not None,
`extra_sm = set(level_couplings[sequence.rydberg][pulse.detuning]) - {field.Uniform}
so i need to check whether capabilities support local detunings. However, in the function to_quera_capabilities, local is set to None, which causes my code fail to run. I really don't know how to solve this problem and hope to seek some help.
The text was updated successfully, but these errors were encountered: