Skip to content

Commit 5af61a3

Browse files
committed
feat(templates): Implement unified lattice module and tests
1 parent fbdcb2e commit 5af61a3

File tree

4 files changed

+1517
-83
lines changed

4 files changed

+1517
-83
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Change Log
22

33
## Unreleased
4+
- Add `Lattice` module (`tensorcircuit.templates.lattice`) for creating and manipulating various lattice geometries, including `SquareLattice`, `HoneycombLattice`, and `CustomizeLattice`.
45

56
## v1.2.1
67

mypy.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ ignore_errors = True
2121
;; unless you enjoy writting sth worse than C
2222
;; both the establish status of mypy and support from other packages are just wasting your time
2323
;; GET AWAY MYPY AND TYPE ANNOTATION !!! WRITTING PYTHON AS IT IS !!!
24+
25+
[tensorcircuit.templates.lattice]
26+
disable_error_code = arg-type

0 commit comments

Comments
 (0)