diff --git a/docs/examples.rst b/docs/examples.rst index 57aaee347..203c3ae40 100755 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -61,7 +61,7 @@ What she can do is use quantum teleportation to achieve this task. Yet, this onl They can create a Bell-pair using a very simple circuit which first applies a Hadamard gate to the first qubit, and then flips the second qubit conditional on the first qubit being in :math:`|1\rangle`. The circuit diagram can be generated by calling the function .. literalinclude:: ../examples/teleport.py - :lines: 6,19-25 + :lines: 6,18-25 :tab-width: 2 with a main compiler engine which has a CircuitDrawer back-end, i.e., @@ -88,7 +88,7 @@ The complete example looks as follows: .. literalinclude:: ../examples/teleport.py :linenos: - :lines: 1-6,19-27,44-99 + :lines: 1-6,18-27,44-99 :tab-width: 2 and the corresponding circuit can be generated using