Physics, Condensed Matter Physics, Quantum Computing.
What a convenient tool to check for double-occupations! So when you inspect this on-site interaction term, it contributes potential energy only once two electrons of opposite spin occupy the same site (a double-occupation), as measured through the number operators, which lines up perfectly with