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

qubo QAOA #120

Closed AlexisRalli closed 1 year ago

AlexisRalli commented 1 year ago

…In anticommuting_op commented out old code. In noncontextual_op have added QAOA functionality and tests written.

codecov-commenter commented 1 year ago

Codecov Report

Merging #120 (673ce73) into main (1491474) will increase coverage by 1.56%. The diff coverage is 95.49%.

@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
+ Coverage   70.57%   72.13%   +1.56%     
==========================================
  Files          30       30              
  Lines        3106     3180      +74     
==========================================
+ Hits         2192     2294     +102     
+ Misses        914      886      -28     
Impacted Files Coverage Δ
symmer/evolution/decomposition.py 8.60% <0.00%> (-0.19%) :arrow_down:
symmer/operators/anticommuting_op.py 91.17% <ø> (+18.65%) :arrow_up:
tests/test_projection/test_utils.py 85.71% <66.66%> (ø)
symmer/operators/noncontextual_op.py 78.24% <100.00%> (+4.39%) :arrow_up:
symmer/projection/utils.py 56.38% <100.00%> (+0.94%) :arrow_up:
tests/test_operators/test_noncontextual_op.py 100.00% <100.00%> (ø)

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