Skip to content

Commit

Permalink
Update state_preparation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KetpuntoG committed Jul 24, 2024
1 parent 238af73 commit e7b5d26
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pennylane/ops/qubit/state_preparation.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ class StatePrep(StatePrepBase):
>>> @qml.qnode(dev)
... def example_circuit():
... qml.StatePrep(np.array([1, 0, 0, 0]), wires=range(2))
... qml.StatePrep(np.array([1, 0, 0, 0]), wires=range(2))
... return qml.state()
>>> print(example_circuit())
[1.+0.j 0.+0.j 0.+0.j 0.+0.j]
Expand Down

0 comments on commit e7b5d26

Please sign in to comment.