dwavesystems / dwavesystems/dimod

BQM with missing linear uses offset as value

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

Description

**Description**
```
>>> bqm = dimod.BQM({('a', 'b'): -1}, 0, dimod.Vartype.SPIN)
>>> bqm
BinaryQuadraticModel({('a', 'b'): -1, 0: 0.0}, {}, 0.0, 'SPIN')
```
**Steps To Reproduce**
See above

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.