Codes for diagonalization of a large scale spin Hamiltonians for lattice gauge theories.
Currently this returns the eigenvalues in a search range which can be specified by a user of the Hamiltonian of the triangle plaquette model in spin basis.
You may also specify the coefficients of the Hamiltonian.
Also, now you may simulate multiple triangle model on the following lattice geometry:
The indices of the links correspond to the qubit indices, and the gauge fluxes are around the vertices (the same color represent the same vertices).
Compile TrianglePlaquette/TrianglePlaquette.c -mkl. Checked it works properly with Intel C Compiler, but you may need to modify some codes for other compilers. The executable takes 5-7 arguments: number of layers, the value of g, the value of alpha, search range min, search range max, file name to export the matrix (specified with -o flag) and file name to import the matrix (specified with -i flag).