dwavesystems / dwave-system

An API for easily incorporating the D-Wave system as a sampler, either directly or through Leap's cloud-based hybrid samplers
https://docs.ocean.dwavesys.com/
Apache License 2.0
90 stars 64 forks source link

Include chain break points in returned embedding context #447

Open kevinchern opened 2 years ago

kevinchern commented 2 years ago

Example of "chain break points": a chain with +++: no break points. a chain with +--: break point at (0,1) a chain with +-+: break points at (0,1) and (1,2)

codecov-commenter commented 2 years ago

Codecov Report

Merging #447 (8135c08) into master (13bda5c) will decrease coverage by 2.95%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #447      +/-   ##
==========================================
- Coverage   90.52%   87.57%   -2.96%     
==========================================
  Files          22       22              
  Lines        1520     1521       +1     
==========================================
- Hits         1376     1332      -44     
- Misses        144      189      +45     
Impacted Files Coverage Δ
dwave/system/composites/embedding.py 96.02% <100.00%> (-1.13%) :arrow_down:
dwave/system/samplers/leap_hybrid_sampler.py 61.42% <0.00%> (-14.29%) :arrow_down:
dwave/system/samplers/clique.py 77.35% <0.00%> (-5.04%) :arrow_down:
dwave/system/samplers/dwave_sampler.py 84.14% <0.00%> (-3.05%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 13bda5c...8135c08. Read the comment docs.