rigetti / pyquil

A Python library for quantum programming using Quil.
http://docs.rigetti.com
Apache License 2.0
1.4k stars 341 forks source link

Minor doc issues seen from running QPU #59

Closed astaley closed 7 years ago

astaley commented 7 years ago

Chris and I have been walking through the instructions as a double check. I noticed two things:

  1. In the T2 Ramsey section we are missing instructions to from pyquil.plots import T2RamseyModel
  2. Also, in the box:
    
    x, y = res_ramsey.decode()
    fit_n_data = model.report_fit(np.asarray(x), np.asarray(y))
    fit, data = (fit_n_data[0], fit_n_data[1:])
    fit.plot()
    plt.show()
    print fit.fit_report()```
    The
    ```fit.plot(); plt.show()```
    actually does not work. I had to use
    ```fig=fit.plot(); fig[0].show()```

And we should add a note to use the https:\\job.rigetti.com\beta endpoint

astaley commented 7 years ago

This has now been fixed with the above merge.