Skip to content

Commit

Permalink
Update pennylane/spin/spin_hamiltonian.py
Browse files Browse the repository at this point in the history
Co-authored-by: Utkarsh <[email protected]>
  • Loading branch information
austingmhuang and obliviateandsurrender authored Sep 20, 2024
1 parent 66a5488 commit a70d2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pennylane/spin/spin_hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def spin_hamiltonian(lattice):
.. code-block:: python
lattice = qml.spin.Lattice(
>>> lattice = qml.spin.Lattice(
n_cells=[2, 2],
vectors=[[1, 0], [0, 1]],
positions=[[0, 0], [1, 5]],
Expand Down

0 comments on commit a70d2bc

Please sign in to comment.