Skip to content

Custom function to mix controls #48

Answered by goerz
will-atom asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, as you found, "amplitudes" are intended for exactly this use case. You don't need a custom generator, specifically, only custom amplitudes. That is, you can still initialize your generator with e.g. hamiltonian(H0, (H1, F1), (H2, F2)), but you will need custom data structure for the F1, F2, etc. These have to fulfill the following interface:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@will-atom
Comment options

Answer selected by will-atom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants