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
Current implementation of time-dependent block in qadence is using all the usual blocks to build the generator for HamEvo with two additional twists. First, the parameter that denotes time is a Parameter instance with an additional flag is_time=True. Currently it can be created using TimeParameter helper function in a similar way to FeatureParameter and VariationalParameter:
But it will not affect how the expressions handle that symbol.
From the platform side, we can add flags to the Alloc type in the Qadence IR similar to QuInstruct.
Then, a type symbol could be passed to the model as Alloc(1, trainable=True, time_parameter=True).
Regarding the operation, in addition to the prefix dyn_ in the operation's name (dyn_evo and dyn_qubit are the current suggestions), we can add a flag like time_dependent=True to t.
RolandMacDoland
changed the title
Time-dependent block implementation
[Feature] Time-dependent block implementation
Jul 22, 2024
Current implementation of time-dependent block in
qadence
is using all the usual blocks to build the generator forHamEvo
with two additional twists. First, the parameter that denotes time is aParameter
instance with an additional flagis_time=True
. Currently it can be created usingTimeParameter
helper function in a similar way toFeatureParameter
andVariationalParameter
:Second, the composite block acting as the generator has a property
is_time_dependent=True
(implemented inAbstractBlock
class):Basically, that's all that distinguishes an arbitrary block from a time-dependent one.
The text was updated successfully, but these errors were encountered: