OpenFermion icon indicating copy to clipboard operation
OpenFermion copied to clipboard

Outline for tutorials

Open mpharrigan opened this issue 5 years ago • 0 comments

I sent this email to some people late last year, reproducing here for reference. The original context was how to document the HFVQE experiment in ReCirq, but on the openfermion sync we talked about how a similar structure of ~4 notebooks could serve as a good tutorial to openfermion basics.


The project is to take the paper https://arxiv.org/abs/2004.04174 which has code here: https://github.com/quantumlib/ReCirq/tree/master/recirq/hfvqe and write ~4ish Jupyter notebooks to serve as a tutorial-style documentation for the experiment. The notebooks shouldn't just be code -- they can lift passages from the paper to motivate and explain what you're doing in code. Ideally, the resulting notebooks would be a perfect resource for someone like @ncrubin to leverage to give a talk to a ~CS audience. The notebooks should be mostly standalone from the paper.

I imagine the notebooks would have the following subjects:

  1. Chemistry stuff -- how to use openfermion to get a Hamiltonian and how to produce the "molecular data" data included in the repository. Motivate how we'll use the quantum computer to measure the energies of these Hamiltonians.
  2. Quantum circuits -- what the circuits look like and how you compile them
  3. Analysis and purification -- a notebook showing how the analysis routines work and the level of improvement you can get.
  4. End-to-end with plots that look like the paper.

Obviously this is a very rough outline and things can be moved around; notebooks can be added/subtracted etc.

mpharrigan avatar Jan 07 '21 18:01 mpharrigan