Cytnx icon indicating copy to clipboard operation
Cytnx copied to clipboard

Fermion twist

Open manuschneider opened this issue 1 month ago • 1 comments

-Added fermion twists, which corresponds to the P-gates in arXiv:2404.14611 -Cleaned up code and updated documentation -Made all methods return a pointer to the class to allow for chaining (e.g. UniTensor.contiguous().fermion_twists(). ...)

manuschneider avatar Nov 03 '25 08:11 manuschneider

Codecov Report

:x: Patch coverage is 4.54545% with 63 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 35.19%. Comparing base (e87c3a2) to head (74caf0d). :warning: Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
include/UniTensor.hpp 5.55% 34 Missing :warning:
src/BlockFermionicUniTensor.cpp 5.55% 17 Missing :warning:
src/UniTensor_base.cpp 0.00% 12 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #703      +/-   ##
==========================================
+ Coverage   32.35%   35.19%   +2.84%     
==========================================
  Files         215      215              
  Lines       36363    33158    -3205     
  Branches    14597    13210    -1387     
==========================================
- Hits        11764    11671      -93     
+ Misses      22659    19573    -3086     
+ Partials     1940     1914      -26     

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Nov 03 '25 09:11 codecov[bot]

Is it possible to add some simple unit test?

hunghaoti avatar Nov 28 '25 05:11 hunghaoti