Skip to content

Commit

Permalink
Update the user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Sep 7, 2022
1 parent efef2da commit 2121313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/qip-simulator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ and computation proceeds. To demonstrate, we continue with our previous circuit:
.. testcode::

from qutip_qip.circuit import CircuitSimulator

sim = CircuitSimulator(qc, state=zero_state)
sim = CircuitSimulator(qc)
sim.initialize(zero_state)

This initializes the simulator object and carries out any pre-computation
required. There are two ways to carry out state evolution with the simulator.
Expand Down

0 comments on commit 2121313

Please sign in to comment.