dwavesystems / dwavesystems/dimod

Ability to add variable and interaction data in BinaryQuadraticModel

Open
#186 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
143
Forks
91
Avg merge
1h 24m
Merged PRs (30d)
3

Description

For instance

```
import dimod

bqm = dimod.BinaryQuadraticModel.empty(dimod.SPIN)

bqm.add_variable(v, .5, data={'somedata': 0})
bqm.add_interaction(u, v, .5, data={'someotherdata': 1})
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.