|
Is it possible to perform GRAPE optimization on only some quantum numbers of a system, i.e. after tracing out some degrees of freedom? |
Answered by
goerz
Jun 10, 2025
Replies: 1 comment 19 replies
|
Sure! You can define any functional you want. |
19 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So that would be this, with$\vert\Psi(t=0)\rangle = \vert \uparrow 0\rangle$ ?
In that case, you'd indeed have to implement a function$\hat{P}$ in this case).
J_T_opto handle minimizing the expectation value of an operator (the projectorIn a general form, that might be nice addition to the collection of functionals in
QuantumControl.Functions.