How to compute expectation values guide, issue #473#541
How to compute expectation values guide, issue #473#541esraayantuna wants to merge 2 commits intoqiskit-community:mainfrom
Conversation
|
Hi @0sophy1! Can you review this PR, please? |
Thank you so much for this awesome work Esra, I found these 5 expectation functions state.spin_square and wonder if these are also good to be added to this guide. @kevinsung Your input will be very helpful and valuable! |
No, we shouldn't mention those functions. This guide should only show how to get expectation values with Scipy LinearOperator and |
Thank you @kevinsung ! I believe this tutorial meets your expectations. |
There was a problem hiding this comment.
Thanks Esra!
- The notebook file should go in
docs/how-to-guides/. Also, the filename should use hyphens-instead of underscores_. - Add a title and format the notebook to use traditional Markdown headings
- Use MolecularHamiltonian instead of DiagonalCoulombHamiltonian
- Only using the diagonal is not a valid method, it only worked because you created a diagonal Hamiltonian.
Added a Jupyter notebook explaining how to compute expectation values with ffsim.