Adding GraphHamiltonians.
Created by: jamesETsmith
-
Added EdgeColors to custom graphs that allow users to specify colors of the edges.
-
Added a new class of Hamiltonians called GraphHamiltonians that allow users to specify operators that only act on edges of a certain color. Users can also specify site operators that act on the vertices of the graph.
-
Created tutorials for the transverse field Ising and J1 J2 models using graph hamiltonians.
-
Added unittest for graph Hamiltonian.