Skip to content
Discussion options

You must be logged in to vote

So that would be this, with $\vert\Psi(t=0)\rangle = \vert \uparrow 0\rangle$?

$$J_T = 1 - \sum_n \vert \langle \Psi(T) \vert \downarrow n \rangle \vert^2 = 1 - \langle \Psi(T) \vert \underbrace{\left(\sum_n \vert\downarrow n\rangle\langle\downarrow n \vert \right)}_{\equiv \hat{P}} \vert \Psi(T) \rangle$$

In that case, you'd indeed have to implement a function J_T_op to handle minimizing the expectation value of an operator (the projector $\hat{P}$ in this case).

In a general form, that might be nice addition to the collection of functionals in QuantumControl.Functions.

Replies: 1 comment 19 replies

Comment options

You must be logged in to vote
19 replies
@goerz
Comment options

@goerz
Comment options

@will-atom
Comment options

@goerz
Comment options

Answer selected by will-atom
@will-atom
Comment options

@will-atom
Comment options

@goerz
Comment options

@goerz
Comment options

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