-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SuperfluidCorrelator and StringCorrelator (#227)
* implement superfluid correlator * Completed docstring for SuperfluidCorrelator structure in correlation_functions.jl and wrote unit tests for SuperfluidCorrelator. * Defined the StringCorrelator structure, its print behaviour, and noted that it is diagonal * Defined diagonal elements of the StringCorrelator matrix * Specified that there are no off-diagonal entries in the StringCorrelator matrix * Added docstring for string correlator function * Added preliminary test functions for StringCorrelator and export statement for StringCorrelator * Fixed StringCorrelator function definition and added support for StringCorrelator(0) where the mean filling is not 1. Updated test functions for StringCorrelator * Appended StringCorrelator and SuperfluidCorrelator to @docs in hamiltonians.md * Removed whitespace between StringCorrelator docstring and structure/function definition * Made changes to SuperfluidCorrelator, StringCorrelator and their tests in accordance with our Friday meeting * Added brackets * Edited documentation for SuperfluidCorrelator * Tests added * Added test for show function * Added tests for show function * Added working tests for show methods of StringCorrelator,SuperfluidCorrelator,G2Correlator. Altered definition of StringCorrelator to return only the real part ofthe correlator function. The imaginary part is negligible when the mean filling is 1 * Removed some testing comments and whitespace * Testing StringCorrelator function with alternate function definition * Altered StringCorrelator definition to check for integer filling prior to calculations * Fixed implementation of the above * Removed Project.toml accidental edit * Removed comments * Added StringCorrelator Tests for correct return types * Update src/Hamiltonians/correlation_functions.jl Co-authored-by: Joachim Brand <[email protected]> * Updated docstring of StringCorrelator * Update src/Hamiltonians/correlation_functions.jl Co-authored-by: mtsch <[email protected]> * Update src/Hamiltonians/correlation_functions.jl Co-authored-by: mtsch <[email protected]> * Update src/Hamiltonians/correlation_functions.jl. Branched StringCorrelator for real and complex return types to seperate helper functions. Co-authored-by: mtsch <[email protected]> * Added returns to updated StringCorrelator * Update test/Hamiltonians.jl Added extra type stability checks Co-authored-by: Joachim Brand <[email protected]> * Update test/Hamiltonians.jl for num_offdiagonals check Co-authored-by: Joachim Brand <[email protected]> * Update test/Hamiltonians.jl Co-authored-by: Joachim Brand <[email protected]> * Updated docstring of SuperfluidCorrelator and StringCorrelator Co-authored-by: Joachim Brand <[email protected]> * Added support for OccupationNumberFS Co-authored-by: Joachim Brand <[email protected]> * Changing incorrect apostrophe used --------- Co-authored-by: ewan353 <[email protected]> Co-authored-by: TILAK PATEL <[email protected]> Co-authored-by: Joachim Brand <[email protected]> Co-authored-by: mtsch <[email protected]>
- Loading branch information
1 parent
2865d0d
commit aeb242f
Showing
4 changed files
with
223 additions
and
1 deletion.
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
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
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
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