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

For very large CQMs, it would be helpful to have something like [numpy.memmap](https://numpy.org/doc/stable/reference/generated/numpy.memmap.html). It would wrap a CQM file, as generated by `CQM.to_file`. Constraints and objectives could then be added...

enhancement

Currently the C++ quadratic models are all indexed `[0, num_variables)` always. That makes working with multiple QMs tricky. For instance, say that you had two bqms, `x0 + x1` and...

enhancement

It would be nice to add some additional configuration options to the [Formatter](https://github.com/dwavesystems/dimod/blob/36810275d8e2305c0a93495d5b96d5c3a5d6ae05/dimod/serialization/format.py#L209). Some ideas: * Toggle full field names - right now they default to a max length of...

enhancement

It would be helpful to have a Exact and/or Random DQM sampler for testing. Note that the exact version would be extremely limited.

enhancement

This composite generalizes making multiple calls to a sampler and aggregating the results together. On each call, one specifies a different set of kwargs to be sent to the solver....

**Description** The example given at https://docs.ocean.dwavesys.com/projects/dimod/en/stable/reference/bqm/generated/dimod.BinaryQuadraticModel.to_numpy_matrix.html fails to run. **Steps To Reproduce** Simply enter the code from the `to_numpy_matrix` example: ``` $ python Python 3.8.3 (default, Jul 2 2020, 16:21:59)...

Given a variable, fix the value of the variable to one of its cases and remove the variable. ``` dqm = dimod.DiscreteQuadraticModel() dqm.add_variable(5, 'a') dqm.add_variable(5, 'b') dqm.set_quadratic('a', 'b', {(1, 4):...

enhancement

Hi, while using the dimod library with networkx to solve the minimum vertex cover problem, I noticed that the dimod library is having issues with networkx graph objects generated from...

bug

**Application** Refactor ExactSolver so that it can more quickly calculate the energy delta for the single bit flip.

enhancement