Search found 1 match

by jper30
29 Feb 2024, 14:05
Forum: HowTos and FAQ for TeNPy
Topic: Matrix representation of dN operator
Replies: 1
Views: 5693

Matrix representation of dN operator

Hello,
Is there an easy way to access the matrix representation of the dN operator for fermion sites? Specifically if the filling is 0.5, and so dN = n - 0.5, how can this be represented as a matrix?

Thank you