qadence
qadence copied to clipboard
[Refactoring] Enforce dimensionless parameter values passed to GPSR function
Currently when using HamEvo
blocks with GPSR, the differentiable parameter can have arbitrary dimension, however GPSR shifts are have the dimension of angle. This results in incorrect application of GPSR.
Possible solution can be enforcing all the blocks to have unitaries conforming to definition of GPSR paper - U(x)=exp(-(i/2)*x*G)
. This way x
would always be an angle and GPSR would be applied correctly.
@jpmoutinho @vytautas-a will this be picked up anytime soon ?
I would work on this once the structure / purpose of the analog blocks is bit cleaner. Alternatively it can be something for @vytautas-a once he has some time from his current project.