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

Since https://github.com/dwavesystems/dimod/pull/1135 we remove deprecated features two minor version releases after the deprecation. So if a feature was deprecated in 0.11.2, it will be removed in 0.13.0. This is similar...

**Description** In a Python 3.10 env, trying to build docs terminates in an error: ``ImportError: cannot import name 'Union' from 'types' `` This is a known sphinx error that was...

bug

**Description** ``BinaryPolynomial.normalize`` enables asymmetric ranges, which is good, but silently ignores shifts left or right from the zero, and crashes with a ``ZeroDivisionError`` if the range includes zero. **Steps To...

bug

It would be useful to add a `SampleSet.as_completed()` method, similar to [`Future.as_completed()`](https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.as_completed).

enhancement

See https://github.com/dwavesystems/dwave-ocean-sdk/pull/191 for an example of why this is useful

It would be nice to be able to do ```python >>> x = dimod.BinaryArray(size=(5, 5)) ``` this can be done now with ```python >>> x = dimod.BinaryArray(range(25)).reshape((5, 5)) ``` applies...

enhancement

**Application** When adding a set of binary variables as a discrete variable, an error is raised that indicates the variable is not hashable. This is not a bug because the...

enhancement

I wrote ```python from typing import Optional, Tuple import dimod import numpy as np from dwave.system import LeapHybridSampler def factor(p: int, *, shape: Optional[Tuple[int, int]] = None, sampler: Optional[dimod.Sampler] =...

enhancement

For large CQMs with lots of linear constraints, the user can run into memory/performance bottlenecks. One place we could potentially relieve the bottleneck is to _not_ encode the linear constraints...

enhancement

It would be convenient in some cases to scale or normalize the objective and constraints in bulk.

enhancement