I'm considering running the optimal control under a given gradient field, i.e., applying RF and gradient pulse simultaneously.
In this case, the gradient pulse is known but shaped. To include the gradient in optimal control, I guess it's difficult to contribute the gradient to a drift ensemble because I can only define the Hamiltonian as time-invariant.
Another way is to define the gradient in control. operators, accompanying frozen gradient waveform. I'm not sure if it's possible, but I'd like to modify the ensemble.m to hold my task
do you have any suggestions?
Thank you,
Mengjia