qojulia / QuantumOpticsBase.jl

Base functionality library for QuantumOptics.jl
Other
64 stars 34 forks source link

Fermionic anticommutation relations #157

Closed aryavorskiy closed 7 months ago

aryavorskiy commented 8 months ago

This PR addresses issue #102, providing a way to set the particle statistics in the ManyBodyBasis. I also added fermionbasis and bosonbasis convenience functions.

All tests seem to pass.

UPD: Sorry for the mess with the commits here, should have created a new fork.

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 97.43590% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 92.96%. Comparing base (bb71f52) to head (15a3b53).

Files Patch % Lines
src/manybody.jl 97.43% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #157 +/- ## ========================================== - Coverage 93.00% 92.96% -0.05% ========================================== Files 25 25 Lines 3104 3083 -21 ========================================== - Hits 2887 2866 -21 Misses 217 217 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

aryavorskiy commented 7 months ago

After thinking about it a little bit more, it seems that this interface requires some more work. Closing this in favor of a new properly forked PR