-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add demo for Jordan-Wigner and Bravyi-Kitaev transforms #263
Conversation
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
@kevinsung I guess this needs to be merged after the eq PR? |
Is this good to go? |
Not yet, I'll make the necessary changes and let you know when. |
Ready once checks pass! |
Wait, I realized this is not being tested, I'll fix that... |
Ok ready. |
* define eq for SymbolicOperator * add transforms notebook * add reference to code transforms notebook * add computation cell to first section * add comments * fix annihilation operator action * explain bitstring mapping and remove macros * fix indices in basis vectors * remove redundant reference to nielsen * can't use frac shortcut * rename variable a_2 to annihilate_2 * rename variable a_2 to annihilate_2 * remove code block with normal-ordering from first section * expand parity section * expand parity section * expand parity section * finish? parity section * begin bravyi-kitaev * wording * expand bk section * expand bk section * add code to bk section * finish? bravyi kitaev sction * wording * formatting * fix 1/2 factor * change definition of parity set * restrict to Jordan-Wigner and Bravyi-Kitaev * remove warnings * add automatic testing cell * add commas * update bravyi-kitaev section to account for implementation change * test the demo
Partially addresses #222 . I think it makes sense to have the Jordan-Wigner and Bravyi-Kitaev transforms in their own demo notebook, with the other more exotic transforms in another one. I took a very pedagogical approach which I think will be helpful to people new to the topic. Of course, feedback on the presentation is welcome.
Some content might need to be changed depending on how #259 is resolved.