Skip to content

Commit f0098e8

Browse files
committed
Fix documentation doctest expectations
1 parent 4457437 commit f0098e8

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

docs/source/compiler.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ For example, consider running a ``CZ`` on non-neighboring qubits on a linear dev
365365
.. testoutput:: swaps
366366

367367
CZ 2 1
368-
HALT
369368

370369
We see that the resulting program has only a single ``CZ`` even though the original program would
371370
usually require the insertion of a ``SWAP`` gate. The compiler instead opted to just relabel (or

docs/source/getting_started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ If you would like to stay up to date with the latest changes and bug fixes, you
4040

4141
.. note::
4242

43-
pyQuil requires Python 3.9 or later.
43+
pyQuil requires Python 3.11 or later and supports Python versions earlier than 3.13.
4444

4545
.. testcode:: verify-min-version
4646
:hide:
@@ -58,7 +58,7 @@ If you would like to stay up to date with the latest changes and bug fixes, you
5858
.. testoutput:: verify-min-version
5959
:hide:
6060

61-
^3.9...
61+
>=3.11, <3.13
6262

6363
.. note::
6464

@@ -165,7 +165,7 @@ the terminal windows where your servers are running, you should see output print
165165
pyQuil also provides the :py:func:`~pyquil.api.local_forest_runtime()` context manager to ensure both ``quilc`` and ``qvm`` servers are running
166166
by starting them as subprocesses if they aren't already.
167167

168-
.. testcode:: first-program
168+
.. code:: python
169169
170170
from pyquil import get_qc, Program
171171
from pyquil.gates import CNOT, Z, MEASURE

0 commit comments

Comments
 (0)