Closed raulconchello closed 1 year ago
Merging #192 (932d1cd) into dev (54d0c70) will increase coverage by
0.73%
. The diff coverage is99.53%
.
@@ Coverage Diff @@
## dev #192 +/- ##
==========================================
+ Coverage 88.81% 89.54% +0.73%
==========================================
Files 32 33 +1
Lines 5812 6237 +425
==========================================
+ Hits 5162 5585 +423
- Misses 650 652 +2
Impacted Files | Coverage Δ | |
---|---|---|
tests/test_notebooks.py | 94.00% <66.66%> (-1.75%) |
:arrow_down: |
tests/test_benchmark.py | 99.59% <99.59%> (ø) |
|
tests/test_analytical_simulator.py | 100.00% <100.00%> (ø) |
|
tests/test_parameters.py | 99.70% <100.00%> (+0.06%) |
:arrow_up: |
tests/test_utilities.py | 99.42% <100.00%> (ø) |
|
tests/test_workflows.py | 99.56% <100.00%> (+0.06%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Let's remember to close Issue https://github.com/entropicalabs/openqaoa/issues/186 once this PR is merged!
NOTE: run black
formatter before merging
Implementation of
qaoa.evaluate_circuit
methodqaoa.evaluate_circuit
methodupdate_from_dict
method, so a dict can be passed to runevaluate_circuit
asdict
method, the counterpart ofupdate_from_dict
methodExample
We get some optimized parameters, using -in this case- analytical simulator
Now we evaluate a qaoa circuit with a QPU or simulator using the optimized parameters found above.