dimod icon indicating copy to clipboard operation
dimod copied to clipboard

A shared API for QUBO/Ising samplers.

Results 129 dimod issues
Sort by recently updated
recently updated
newest added

It would nice to be able to set the default values for `Sampler.sample` keyword arguments on sampler construction. Something like ``` class ASampler(dimod.Sampler): ... def sample(self, bqm, a=1, b=1, c=1):...

enhancement
question

https://github.com/dwavesystems/dimod/pull/963 was an attempt to fix this issue, but that approach fails. More investigation needed. Failing examples ``` samples = dimod.SampleSet( np.rec.array([([0.], 1., 1, True, [])], dtype=[('sample', '

bug

It would be nice to get the label of one-variable BQMs and QMs. E.g. ```python >>> i = dimod.Integer('i') >>> i.name 'i' ``` Has a similar problem to the ones...

enhancement

The inverse of `CQM.from_bqm` added in https://github.com/dwavesystems/dimod/pull/936. Cases this would need to handle to be fully featured: - [ ] Integer variables - [ ] binary encoding - [ ]...

enhancement

**Application** Dimod-supported characterization the object properties **Proposed Solution** For each of the canonical models, eg. BQM, DQM, there could be a method that puts together some of the model properties,...

enhancement

**Application** It will shrink the size of the quadratic models to what is actually required. Though when creating the CQM through serialization we calculate how much memory will be required...

enhancement

Something like ```python import warnings from typing import Collection, Dict, Hashable, Mapping, Optional, Tuple import dimod try: from dimod.typing import Variable except ImportError: # dimod < 0.10 Variable = Hashable...

enhancement

For requests like https://github.com/dwavesystems/dimod/issues/921, it would be nice to have some way of detecting whether a `BQM`/`QM` are scalars or single variables. Something like ``` def is_variable(self): return self.num_variables ==...

enhancement

SciPy has an existing set of [sparse matrix formats](https://docs.scipy.org/doc/scipy/reference/sparse.html), we could support construction of the BQMs added in #533 from these formats. Notes: * We probably do not want to...

enhancement