Skip to content

feat: add local Ocean BQM parity report - #8

Merged
doomhammerhell merged 1 commit into
mainfrom
content/v0.2-ocean-local-bqm
Jul 29, 2026
Merged

feat: add local Ocean BQM parity report#8
doomhammerhell merged 1 commit into
mainfrom
content/v0.2-ocean-local-bqm

Conversation

@doomhammerhell

Copy link
Copy Markdown
Owner

Summary

Adds a reusable local Ocean BQM parity report for the D-Wave/Ocean boundary.

The report constructs a dimod.BinaryQuadraticModel when Ocean is available, preserves the canonical QUBO assignment domain including zero-bias isolated variables, and compares Noetheris energy against local BQM energy for supplied assignments.

The default path remains credential-free: when dimod is absent, the report records the missing optional dependency and leaves BQM data empty while local Noetheris replay remains valid.

Closes #2.

Validation

python3 -m pytest tests/test_optional_integrations.py tests/test_external_examples.py tests/test_qubo_exchange_parity.py
bash scripts/run_examples.sh
bash scripts/run_audit.sh

Local result: focused tests passed; bash scripts/run_audit.sh passed with 51 passed in pytest and Lean build successful.

Boundary

This PR only covers local dimod.BinaryQuadraticModel construction and energy parity. It does not submit to D-Wave cloud services, call samplers, perform embedding search, benchmark hardware, or introduce quantum advantage claims.

@doomhammerhell
doomhammerhell marked this pull request as ready for review July 29, 2026 13:48
@doomhammerhell
doomhammerhell merged commit 90469b2 into main Jul 29, 2026
2 checks passed
@doomhammerhell
doomhammerhell deleted the content/v0.2-ocean-local-bqm branch July 29, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.2: Ocean local BQM integration example and tests

1 participant