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

Implementing a simple Jordan Wigner model #72

Open
3 tasks
marekgluza opened this issue Jul 17, 2024 · 4 comments
Open
3 tasks

Implementing a simple Jordan Wigner model #72

marekgluza opened this issue Jul 17, 2024 · 4 comments
Assignees
Labels

Comments

@marekgluza
Copy link
Contributor

marekgluza commented Jul 17, 2024

@jeongrak-son
Copy link
Contributor

jeongrak-son commented Jul 18, 2024

If you expand, the term (with the h.c.) is already quite simple: $\frac{1}{2}(X_{i}\otimes Z_{i+1}\otimes X_{i+2} + Y_{i} \otimes Z_{i+1}\otimes Y_{i+2})$, or equivalently $\frac{1}{2}Z_{i+1}\otimes (X_{i}\otimes X_{i+2} + Y_{i}\otimes Y_{i+2})$. Two terms commute, so when you exponentiate, you can write $e^{-iHt} = e^{-i\frac{t}{2}X\otimes Z\otimes X}e^{-i\frac{t}{2}Y\otimes Z\otimes Y}$.

@marekgluza marekgluza self-assigned this Jul 18, 2024
@marekgluza
Copy link
Contributor Author

thanks @jeongrak-son the commuting question was what I was wondering about

you got 2 and not 4 terms - will I not additionally get $X\otimes Z \otimes Y$?

@jeongrak-son
Copy link
Contributor

jeongrak-son commented Jul 18, 2024

It will be cancelled by the hermitian conjugate.
$(X-iY)Z(X+iY)+(X+iY)Z(X-iY) = (XZX + YZY - iYZX +iXZY) + (XZX + YZY + iYZX -iXZY) = 2(XZX+YZY)$.

@marekgluza
Copy link
Contributor Author

brilliant, thank you @jeongrak-son this is very helpful and I think this is going to be the right way to find a solution

  • as you established there are 2 terms only
  • they commute

to me this is simple enough to code now

  • @renatomello maybe you know some trick in literature? open question remaining: we have a 3 qubit gate. What CZ cost would you expect for this one? Are there any minimality results for JW gates like that? For a Majorana gate it's I think simple enough because it will be only 1 term like $X\otimes Z \otimes X$ but here we have 2. Is compression possible or we need to treat them individually and that's optimal?

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

No branches or pull requests

2 participants