Skip to content

Commit

Permalink
docs!: Revamp the QuantumComputer and the WavefunctionSimulator sect…
Browse files Browse the repository at this point in the history
…ions. (#1643)
  • Loading branch information
MarquessV authored Sep 7, 2023
1 parent ebe5fe1 commit 1541640
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 229 deletions.
2 changes: 1 addition & 1 deletion docs/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ First, import the essentials:
from pyquil.quilbase import Declare

The :py:class:`~pyquil.Program` class allows us to build a Quil program. :py:func:`~pyquil.get_qc` connects us to a
:py:class:`~pyquil.api.QuantumComputer`, which specifies what our program should run on (see: :ref:`qvm`). We've also imported all (``*``)
:py:class:`~pyquil.api.QuantumComputer`, which specifies what our program should run on (see: :ref:`the_quantum_computer`). We've also imported all (``*``)
gates from the ``pyquil.gates`` module, which allows us to add operations to our program (:ref:`basics`). :py:class:`~pyquil.quilbase.Declare`
allows us to declare classical memory regions so that we can receive data from the :py:class:`~pyquil.api.QuantumComputer`.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you’re new to pyQuil, head to the `getting started <getting_started>`_ guid

getting_started
programs_and_gates
qvm
the_quantum_computer
wavefunction_simulator
compiler
noise
Expand Down
2 changes: 1 addition & 1 deletion docs/source/programs_and_gates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Congratulations! You just ran your program on the QVM. The returned value should
[[1]]

For more information on what the above result means, and on executing quantum programs on the QVM in
general, see :ref:`qvm`. The remainder of this section of the docs will be dedicated to constructing
general, see :ref:`the_quantum_computer`. The remainder of this section of the docs will be dedicated to constructing
programs in detail, an essential part of becoming fluent in quantum programming.


Expand Down
Loading

0 comments on commit 1541640

Please sign in to comment.