Dimod

Latest version: v0.12.18

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 27

0.8.2

Bug Fixes
---------
* Return dict from `BinaryQuadraticModel.to_ising` rather than `LinearView`/`QuadraticView`

0.8.1

New Features
-------------------
* `concatenate` function for combining sample sets
* `SampleSet.aggregate` method to aggregate repeated samples
* `SampleSet.from_samples_bqm` constructor to construct sample sets from raw samples and a binary quadratic model

0.8.0

Changes
------------
* Removed `OrderedBinaryQuadraticModel`
* Change the way the `BinaryQuadraticModel` stores the biases to speed up calculations and to save memory
* Deprecated `Response` in favour of `SampleSet`. `Response` is targeted to be removed in 0.9.0 release
* Updated reference samples and composites to use `SampleSet`
* Moved `dimod.io` namespace under `dimod.serialization`
* Removed `dimod.embedding` subpackage, it is now part of [dwave-system](https://github.com/dwavesystems/dwave-system) under `dwave.embedding` namespace.

New Features
-------------------
* `BinaryQuadraticModel.normalize` method, thanks wbernoudy
* `BinaryQuadraticModel.fix_variables` method
* `BinaryQuadraticModel.energies` method
* `SampleSet.to_pandas` method
* `FixedVariableComposite`, thanks conta877
* `poly_energy` and `poly_energies` function for higher order polynomials, thanks conta877
* Parameter to ignore some variables/interactions in `BinaryQuadraticModel.normalize` and `BinaryQuadraticModel.scale` methods, thanks conta877
* Fix broken documentation link, thanks schnorea

0.7.9

* Support empty `SampleSet` objects
* Update assert `response_energies` to work with `SampleSet`

0.7.8

* Bugfixes

0.7.7

* New `SampleSet` class as a superclass for `Response`

Page 21 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.