Quantum-Many-Body / QuantumLattices.jl

Julia package for the construction of quantum lattice systems.
https://quantum-many-body.github.io/QuantumLattices.jl
Other
108 stars 9 forks source link

How to construct a two site Hubbard model hamiltonian #4

Closed GiggleLiu closed 1 year ago

GiggleLiu commented 5 years ago

Cool project.

I wonder if it is possible to obtain the matrix representation for a two site Hubbard model with QuantumLattices.jl? Although this issue is not related to "lattices".

waltergu commented 5 years ago

Cool project.

I wonder if it is possible to obtain the matrix representation for a two site Hubbard model with QuantumLattices.jl? Although this issue is not related to "lattices".

Thanks for your interest in the project.

Indeed, getting the matrix representation for the Hamiltonian of a quantum many body system is beyond the goals of this package. I recommend another package ExactDiagonalization.jl (although still under development, but may publish its first release in a couple of days) to achieve such a goal.