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
Is there a method to create the UCJ ansatz by passing a list of excitations to keep while ignoring the rest? It seems like the only way to do this would be to zero out t1, t2 amplitudes when creating the UCJ ansatz from parameters.
For now, I suggest writing your own helper function to zero out certain entries of the t2 and t1 amplitudes. Before we consider adding such a function to ffsim, may I ask, what is the motivation?
Is there a method to create the UCJ ansatz by passing a list of excitations to keep while ignoring the rest? It seems like the only way to do this would be to zero out t1, t2 amplitudes when creating the UCJ ansatz from parameters.
Something like:
where
excitation_list
is a list of single and double excitations e.g.[ ( (1) , (2) ) , ( (2) , (3) ) , ( (1,2) , (3 ,4) ) ]
would be more convenient.
The text was updated successfully, but these errors were encountered: