How to construct lattice for condensed matter physics calculation
For condensed matter physics, we will need to obtain lattice information like nearest neighbor bond for constructing of Hamiltonian.
Here I will propose the functions that a lattice library should have and how we implement them.