UCL-CCS / symmer

An efficient Python-based framework for implementing qubit subspace methods, reducing the resource requirements for near-term quantum simulations.
MIT License
37 stars 9 forks source link

Added Pauli reconstruction method that respects the Jordan product #123

Closed TimWeaving closed 1 year ago

TimWeaving commented 1 year ago

TODO: cleanup NoncontextualOp code using the new Jordan-product reconstruction method

codecov-commenter commented 1 year ago

Codecov Report

Merging #123 (b498608) into main (100f670) will decrease coverage by 0.18%. The diff coverage is 81.08%.

@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
- Coverage   83.13%   82.95%   -0.18%     
==========================================
  Files          30       30              
  Lines        3154     3186      +32     
==========================================
+ Hits         2622     2643      +21     
- Misses        532      543      +11     
Impacted Files Coverage Δ
tests/test_operators/test_independent_op.py 100.00% <ø> (ø)
tests/test_projection/test_qubit_tapering.py 100.00% <ø> (ø)
tests/test_operators/test_noncontextual_op.py 96.50% <10.00%> (-3.14%) :arrow_down:
symmer/projection/utils.py 56.38% <50.00%> (ø)
symmer/operators/noncontextual_op.py 94.39% <81.81%> (-0.36%) :arrow_down:
symmer/operators/base.py 66.26% <100.00%> (+0.79%) :arrow_up:
symmer/operators/independent_op.py 87.83% <100.00%> (-0.09%) :arrow_down:
symmer/operators/utils.py 75.86% <100.00%> (+1.40%) :arrow_up:
symmer/projection/contextual_subspace.py 71.63% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

AlexisRalli commented 1 year ago

Error is due to debugpy and poetry==1.4.1 (https://github.com/microsoft/debugpy/issues/1246)

In GitHub workflow need to set poetry==1.4.0 to fix. Main branch now updated, so pull change from main!