Skip to content
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

Help requested: How to add controllable phase in Hamiltonian? #2297

Open
christopherkang opened this issue Jan 18, 2024 · 0 comments
Open

Help requested: How to add controllable phase in Hamiltonian? #2297

christopherkang opened this issue Jan 18, 2024 · 0 comments

Comments

@christopherkang
Copy link

christopherkang commented Jan 18, 2024

Describe the Issue!

I'm trying to follow the CRAB / pulse optimizer tutorial but realize that my Hamiltonian takes a slightly different form than the control form ("H_c") they use. They use a list of QObjs w/ variable amplitude, whereas my Hamiltonian has the following term which seems challenging to input:

$$ f_j(t) (a_j e^{-i \phi_j(t)} - a^\dagger_j e^{i \phi_j(t)}) $$

Even for $j \in [1]$ only, how can I make it so that this term has two controls, one which controls the amplitude and one which controls the phase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant