Thank you Prof. Kuprov for the reply. I have a unitary matrix which I need to implement using NMR in an optimized manner. For example in current version of SPINACH, in example section, optimal_control, state_transfer_grape_hcf() function transfer the z-magnetization from proton to fluorine i.e. state changes from I_1z to I_3z. Correspond to this operation there is a unitary matrix. So while executing state_transfer_grape_hcf() the optimization is effectively reproducing the same unitary. And I am expecting that we can implement the optimization results to Bruker spectrometer (I am still trying to find the that how optimization results can be converted to a shape file to be used by spectrometer).
Now query is: Is it possible that I supply the unitary and other system parameters (e.g. required by sys, inter ... etc) and SPINACH can give me the optimized shape pulse? Or alternatively, I have to specify the Initial state and Desired target state ( I mean there is no option for specifying unitary...!)?