Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added particle hole symmetry to general Hubbard model (#476)
* added magnetic field to general hubbard model * added particle hole symmetry to general hubbard model * added self to author lists * renamed field_operator to magnetic_field_operator * made magnetic field operator indexing-independent added test for equivalence of magnetic field parameter in special and general cases * fixed bug in test * renamed difference_operator to number_difference_operator * renamed expanded name of particle_hole_symmetry parameter * removed duplication from bad merge * made default value of magnetic_field float-valued rather than int * switched Number to float in arguments section of FermiHubbardModel docstring
- Loading branch information
Showing
1 changed file
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters