Skip to content

Commit

Permalink
attempt fix doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
gadhvirushiraj committed Sep 8, 2024
1 parent b3f4aa3 commit 3fa267a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/source/qip-basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,11 @@ QuTiP-QIP offers three distinct methods for visualizing quantum circuits. Below
qc.add_gate("ISWAP", targets=[0,1])
qc.add_measurement("M0", targets=1, classical_store=0)

qc.draw("matplotlib", dpi=300, fig_width=4)
qc.draw("text")

**Output**:

.. testoutput::

┌──────┐ ┌──────┐ ┌───────┐ ┌───┐
q1 :───┤ CNOT ├──┤ SNOT ├──┤ ├──┤ M ├───
└───┬──┘ └──────┘ │ │ └─╥─┘
Expand Down

0 comments on commit 3fa267a

Please sign in to comment.