Capability difference between braket() and not braket_local_simulator()
The Rabi frequency at the beginning and end have to be zero. This error only happens when submitting to braket() and not on braket_local_simulator().
I think the same error should happen in both cases.
This is not a bug this is a requirement for using Aquila via braket. The emulator will always have different restrictions compared to the actual hardware. You should design your pulse sequence to be compatible with the hardware.
Ok, but perhaps a warning could help? I could imagine a user (like myself) performing simulations first before going on hardware and then being surprised that the simulations are actually not realistic since a parameter range was explored that is not compatible with hardware.
A warning makes sense, as this SDK is not a general-purpose emulator, the emulator should only do what hardware does without warns/errors, and it should happen when Emit is called, this requirement is also worth mentioning in docstring and documentation.