entropicalabs / openqaoa

Multi-backend SDK for quantum optimisation
MIT License
116 stars 58 forks source link

Changing RQAOA tests to specific instances #169

Closed kidiki closed 1 year ago

kidiki commented 1 year ago

The test for vanishing instances, test_total_elimination_whole_workflow(self), was too large and failed. Now testing only for the specific function, solution_for_vanishing_instances().

Description

codecov[bot] commented 1 year ago

Codecov Report

Merging #169 (48c7d99) into dev (6718f37) will decrease coverage by 0.05%. The diff coverage is 86.74%.

@@            Coverage Diff             @@
##              dev     #169      +/-   ##
==========================================
- Coverage   81.60%   81.55%   -0.05%     
==========================================
  Files         103      104       +1     
  Lines       12128    12379     +251     
==========================================
+ Hits         9897    10096     +199     
- Misses       2231     2283      +52     
Impacted Files Coverage Δ
openqaoa/backends/qpus/qaoa_qiskit_qpu.py 19.35% <33.33%> (-0.22%) :arrow_down:
tests/test_backends.py 45.33% <45.33%> (ø)
openqaoa/backends/qpus/qaoa_braket_qpu.py 20.87% <50.00%> (-0.24%) :arrow_down:
openqaoa/optimizers/optimization_methods.py 86.95% <88.50%> (+0.84%) :arrow_up:
openqaoa/derivative_functions.py 94.08% <92.12%> (-3.86%) :arrow_down:
openqaoa/optimizers/result.py 94.07% <95.00%> (+0.32%) :arrow_up:
openqaoa/backends/qpus/qaoa_pyquil_qpu.py 93.10% <100.00%> (+0.08%) :arrow_up:
openqaoa/backends/simulators/qaoa_qiskit_sim.py 100.00% <100.00%> (ø)
openqaoa/basebackend.py 93.05% <100.00%> (+6.25%) :arrow_up:
...mizers/pennylane/optimization_methods_pennylane.py 90.69% <100.00%> (ø)
... and 10 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more