Search found 1 match

by marcilla
11 Jun 2024, 17:00
Forum: HowTos and FAQ for TeNPy
Topic: Custom Hamiltonian with multiple fermions and conserved charges
Replies: 1
Views: 17717

Custom Hamiltonian with multiple fermions and conserved charges

Hello, I'm trying to implement DMRG on a Hamiltonian with multiple fermion species and multiple conserved charges. After mapping my model to spins-1/2, and assuming for this example there are three species, I can write the following code: L = 2 # Length of the lattice Nf = 3 # Number of fermion fami...