Skip to content

Commit

Permalink
Addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ddhawan11 committed Sep 16, 2024
1 parent 0da805f commit 2a19d6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/releases/changelog-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
unique representation of the object.
[(#6167)](https://github.com/PennyLaneAI/pennylane/pull/6167)

* More predefined lattice shapes can now be generated.
* Predefined lattice shapes, lieb, cubic, bcc, and fcc, can now be generated.
[(6237)](https://github.com/PennyLaneAI/pennylane/pull/6237)

* The `to_mat` methods for `FermiWord` and `FermiSentence` now optionally return
Expand Down
4 changes: 2 additions & 2 deletions pennylane/spin/lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ def _generate_lattice(lattice, n_cells, boundary_condition=False, neighbour_orde
]:
raise ValueError(
f"Lattice shape, '{lattice}' is not supported."
f"Please set lattice to: chain, square, rectangle, honeycomb, triangle, kagome, lieb,"
f"cubic, bcc or fcc."
f"Please set lattice to: 'chain', 'square', 'rectangle', 'honeycomb', 'triangle', 'kagome', 'lieb',"
f"'cubic', 'bcc' or 'fcc'."
)

lattice_dict = {
Expand Down

0 comments on commit 2a19d6f

Please sign in to comment.