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

Minimize Energy fluctuation #11

Closed
MatteoRobbiati opened this issue Jan 26, 2024 · 2 comments
Closed

Minimize Energy fluctuation #11

MatteoRobbiati opened this issue Jan 26, 2024 · 2 comments
Assignees

Comments

@MatteoRobbiati
Copy link
Collaborator

No description provided.

@wrightjandrew
Copy link
Contributor

wrightjandrew commented Feb 9, 2024

I've already derived an expansion for the fluctuation that gives a third-order polynomial:
$$ \Xi_k^2 (\mu) &= \langle \mu | H_k^2| \mu \rangle - \langle \mu | H_k| \mu \rangle^2 \
&\approx \langle \mu | (\Gamma_0 + s\Gamma_1 + \frac{s^2}{2} \Gamma_2 + \frac{s^3}{6} \Gamma_3)^2| \mu \rangle -\langle \mu | \Gamma_0 + s\Gamma_1 + \frac{s^2}{2} \Gamma_2 + \frac{s^3}{6} \Gamma_3| \mu \rangle^2\
&\approx \text{Var}(\Gamma_0) +2s\text{Cov}(\Gamma_0,\Gamma_1)+s^2(\text{Var}\left(\Gamma_1)+\text{Cov}(\Gamma_0,\Gamma_2)\right)+\frac{s^3}{3}\left(\text{Cov}(\Gamma_0,\Gamma_3)+3\text{Cov}(\Gamma_1,\Gamma_2)\right) $$
https://www.overleaf.com/read/fcqswmyqcskf# (see part 4)

Finding the roots of its derivative gives an estimation of the optimal rotation step.
I've got some formulas for applying gradient descent for finding D but they also depend on how we parametrize this operator. This is also applicable for the full DBI and I think it may be good to discuss how the general case should be implemented first

@marekgluza
Copy link
Contributor

Almost merged into master qiboteam/qibo#1269
code in use so closing, Thanks!

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

3 participants