-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] Add the omega term to Rydberg Feature Map Hamiltonian #15
Comments
Hey @smitchaudhary, thanks, I now properly processed the information here. Like I mentioned yesterday I do think this Do you have a suggestion on the best way to do it? E.g. I don't know if it should use the same |
@jpmoutinho I think this might be the simplest way to handle this. Can continue to have the different In addition, how do you feel about the function taking the value of the |
Actually this might be unnecessary. I forgot about the interaction part of the Hamiltonian. For now, there is no need to bloat this function. When we do a proper redesign of this workflow, we can look into it again. |
Currently, the
rydberg_feature_map
here does not pass any value for omega toAnalogRot
which then defaults to 0.Thus, the Hamiltonian for the Feature map turns out to be something like:
And with the interaction term being an
NN
term, this means the Hamiltonian has no driving term at all. Which would mean, if the state that this block gets is the zero state, then nothing drives the state to other states, and we would be left in the zero state.Considering this is the feature map, we are pretty likely to start with zero state. Thus, it would fail to encode the feature at all.
Need to provide an appropriate driving term to the feature map.
The text was updated successfully, but these errors were encountered: