-
Notifications
You must be signed in to change notification settings - Fork 848
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
Hamiltonian simulation guide #201
Hamiltonian simulation guide #201
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -0,0 +1,604 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe mention that given a Suzuki-Trotter formula, there are exponential different ways to implement it. The synthesis engine generates an optimized implementation, reducing CX-counts and depth compared to a naive, non-optimized implementation.
Reply via ReviewNB
@@ -0,0 +1,604 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,604 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #10. num_qdrift=30,
why did you choose 30? is it according to the error formula you have written above?
Reply via ReviewNB
@@ -0,0 +1,604 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice plot. I would increase num_qdrift
, or, alternatively, use num_qdrift=30
as you did but run the simulation several times to get some statistics (this is eventually a random approach). You can use ExecutionSession
.
Reply via ReviewNB
@@ -0,0 +1,604 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The notebook in the link shows two things:
- How to use these methods for Hamiltonian derived from molecules.
- The optimization of these functions by the synthesis engine.
I am not sure it gives more experience, it mainly highlights the latter (which is a good thing to mention).
Reply via ReviewNB
@alexandre-ricardo Great tutorial! Super insightful and concise, well done! A few notes that we will speak in our meeting:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great
Adding a first draft for the Hamiltonian Simulation guide. Not yet finished.