Skip to content

Commit 539b3bf

Browse files
authored
Fixing teleport example in docs. (#219)
1 parent cdb263f commit 539b3bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ What she can do is use quantum teleportation to achieve this task. Yet, this onl
6161
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
6262

6363
.. literalinclude:: ../examples/teleport.py
64-
:lines: 6,19-25
64+
:lines: 6,18-25
6565
:tab-width: 2
6666

6767
with a main compiler engine which has a CircuitDrawer back-end, i.e.,
@@ -88,7 +88,7 @@ The complete example looks as follows:
8888

8989
.. literalinclude:: ../examples/teleport.py
9090
:linenos:
91-
:lines: 1-6,19-27,44-99
91+
:lines: 1-6,18-27,44-99
9292
:tab-width: 2
9393

9494
and the corresponding circuit can be generated using

0 commit comments

Comments
 (0)